Fix unused fields and wrong field names

Signed-off-by: trivernis <trivernis@protonmail.com>
pull/4/head
trivernis 3 years ago
parent a78f1bc65d
commit 6730094810

@ -1,6 +1,6 @@
[package]
name = "mediarepo-api"
version = "0.23.0"
version = "0.24.0"
edition = "2018"
license = "gpl-3"

@ -77,7 +77,7 @@ impl Eq for SortDirection {}
pub struct FileBasicDataResponse {
pub id: i64,
pub status: FileStatus,
pub cid: String,
pub cd: String,
pub mime_type: String,
}
@ -93,7 +93,6 @@ pub struct FileMetadataResponse {
pub file_id: i64,
pub name: Option<String>,
pub comment: Option<String>,
pub file_type: u32,
pub creation_time: NaiveDateTime,
pub change_time: NaiveDateTime,
pub import_time: NaiveDateTime,

Loading…
Cancel
Save