fixed code highlight

This commit is contained in:
2026-03-26 01:32:17 +01:00
parent 7296638091
commit 53db329cc5
5 changed files with 116 additions and 54 deletions
+2
View File
@@ -36,12 +36,14 @@ pub struct PostInfo {
#[derive(Serialize)]
pub struct PostDetail {
pub slug: String,
pub summary: Option<String>,
pub content: String,
}
#[derive(Deserialize)]
pub struct CreatePostRequest {
pub slug: String,
pub summary: Option<String>,
pub content: String,
}