added recent posts endpoint, added image column to authors table

This commit is contained in:
2024-12-02 18:29:23 -05:00
parent b8f3d4ca7a
commit 44f1f35caa
4 changed files with 59 additions and 11 deletions

View File

@@ -18,6 +18,7 @@ pub struct Author {
pub first_name: String,
pub last_name: String,
pub bio: Option<String>,
pub image: Option<String>,
}
#[derive(Deserialize)]