Address some review issues fmt, errors, comments

This commit is contained in:
Devin Ragotzy
2020-11-15 16:48:43 -05:00
committed by Timo Kösters
parent 86bb93f8cf
commit bb24f6ad90
7 changed files with 50 additions and 39 deletions

View File

@@ -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,
)?;