diff --git a/server/src/types/post.rs b/server/src/types/post.rs index 5ac4885..0bc060a 100644 --- a/server/src/types/post.rs +++ b/server/src/types/post.rs @@ -28,9 +28,7 @@ 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, }