Address some review issues fmt, errors, comments
This commit is contained in:
committed by
Timo Kösters
parent
86bb93f8cf
commit
bb24f6ad90
@@ -39,7 +39,7 @@ pub async fn create_content_route(
|
||||
db.media.create(
|
||||
mxc.clone(),
|
||||
&body.filename.as_deref(),
|
||||
&body.content_type.as_deref(), // TODO this is now optional handle
|
||||
&body.content_type.as_deref(),
|
||||
&body.file,
|
||||
)?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user