Cleanup unused message embedding code
Fixup some warnings
This commit is contained in:
@@ -167,8 +167,10 @@ pub enum PhotoSize {
|
||||
#[derive(Debug, Deserialize)]
|
||||
pub struct ThumbnailRequest {
|
||||
pub(crate) path: String,
|
||||
#[allow(dead_code)] // Part of API contract, may be used in future
|
||||
pub(crate) size: Option<PhotoSize>,
|
||||
#[serde(default)]
|
||||
#[allow(dead_code)] // Part of API contract, may be used in future
|
||||
pub(crate) format: Option<ThumbnailFormat>,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user