Compare commits
2 commits
3174f99a51
...
2b12a83aa8
Author | SHA1 | Date | |
---|---|---|---|
![]() |
2b12a83aa8 | ||
![]() |
82e3f18961 |
1 changed files with 2 additions and 0 deletions
|
@ -28,7 +28,9 @@ pub struct PublicPost {
|
|||
pub content: String,
|
||||
pub upvotes: i64,
|
||||
pub downvotes: i64,
|
||||
#[serde(rename = "createdAt")]
|
||||
pub created_at: chrono::NaiveDateTime,
|
||||
#[serde(rename = "updatedAt")]
|
||||
pub updated_at: chrono::NaiveDateTime,
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue