diff --git a/mediarepo-api/Cargo.toml b/mediarepo-api/Cargo.toml index c688185..27cbb04 100644 --- a/mediarepo-api/Cargo.toml +++ b/mediarepo-api/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mediarepo-api" -version = "0.23.0" +version = "0.24.0" edition = "2018" license = "gpl-3" diff --git a/mediarepo-api/src/types/files.rs b/mediarepo-api/src/types/files.rs index 4b17fe1..3a5c480 100644 --- a/mediarepo-api/src/types/files.rs +++ b/mediarepo-api/src/types/files.rs @@ -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, pub comment: Option, - pub file_type: u32, pub creation_time: NaiveDateTime, pub change_time: NaiveDateTime, pub import_time: NaiveDateTime,