diff --git a/src/api/posts.rs b/src/api/posts.rs index 9cc18e4..92ef091 100644 --- a/src/api/posts.rs +++ b/src/api/posts.rs @@ -565,6 +565,7 @@ async fn row_to_post_full(client: &tokio_postgres::Client, row: &tokio_postgres: // ============================================================================ #[derive(Debug, Clone, serde::Serialize, serde::Deserialize)] +#[allow(dead_code)] pub struct CreatePostRequest { pub title: String, pub slug: Option,