mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-09 03:21:23 +00:00
nope, didn't work
This commit is contained in:
1 parent
24f2c07199
commit
a507f8bc38
1 file changed
+1
-1
+1
-1
@@ -189,7 +189,7 @@ pub async fn handle_upload(
|
||||
if media_upload_type.is_some() {
|
||||
let basic_info = decode_basic_audio_bytes_info(
|
||||
bytes.as_ref(),
|
||||
if mimetype == "video/webm" { None } else { Some(mimetype) },
|
||||
Some(mimetype),
|
||||
None
|
||||
).map_err(|e| {
|
||||
warn!("file decoding error: {:?}", e);
|
||||
|
||||
Reference in new issue
Block a user