Skip to content

Commit 7fc466a

Browse files
Fix fk_user on IssueComment
1 parent d18ec75 commit 7fc466a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/domain/github.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ pub struct GitHubSyncPartial {
3636
)]
3737
#[table_name = "githubuser"]
3838
pub struct GitHubUser {
39+
#[serde(serialize_with = "super::unsigned")]
3940
pub id: i32,
4041
pub login: String,
4142
}
@@ -156,6 +157,7 @@ pub struct IssueComment {
156157
#[serde(serialize_with = "super::unsigned")]
157158
pub id: i32,
158159
pub fk_issue: i32,
160+
#[serde(serialize_with = "super::unsigned")]
159161
pub fk_user: i32,
160162
pub body: String,
161163
pub created_at: NaiveDateTime,

0 commit comments

Comments
 (0)