Change thumbnail to store the file hash instead to be even faster

Signed-off-by: trivernis <trivernis@protonmail.com>
pull/4/head
trivernis 3 years ago
parent 14397dd037
commit 131a46816c

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

@ -91,7 +91,7 @@ pub struct FileOSMetadata {
#[derive(Clone, Debug, Serialize, Deserialize)]
pub struct ThumbnailMetadataResponse {
pub file_id: i64,
pub file_hash: String,
pub height: u32,
pub width: u32,
pub mime_type: String,

Loading…
Cancel
Save