wip: added get post comments, working insert comment to post

This commit is contained in:
2024-09-27 23:17:33 -04:00
parent c303e6aaee
commit 8128459b4e
4 changed files with 69 additions and 30 deletions

View File

@ -74,7 +74,7 @@ impl PostsRoute {
}
}
fn serialize_datetime<S>(
pub fn serialize_datetime<S>(
date: &Option<chrono::DateTime<Utc>>,
serializer: S,
) -> Result<S::Ok, S::Error>