Add get_wup Admin API routes

This commit is contained in:
BloxerHD 2026-04-23 17:19:49 +01:00
commit 4d5436bca9
5 changed files with 56 additions and 3 deletions

View file

@ -71,7 +71,7 @@ pub struct FileWUPAttributes {
pub description: String,
}
#[derive(FromRow, Clone)]
#[derive(FromRow, Clone, Serialize)]
pub struct FileWUP {
pub deleted: bool,
pub file_key: String,
@ -92,4 +92,4 @@ pub struct FileWUP {
pub auto_delete: bool,
pub created: NaiveDateTime,
pub updated: NaiveDateTime,
}
}