Browse Source

Oops

pull/4242/head
Daniel García 2 years ago
parent
commit
9247481dae
No known key found for this signature in database GPG Key ID: FC8A7D14C3CD543A
  1. 2
      src/api/core/ciphers.rs

2
src/api/core/ciphers.rs

@ -987,7 +987,7 @@ async fn post_attachment_v2(
}
let data: AttachmentRequestData = data.into_inner().data;
if !data.FileSize < 0 {
if data.FileSize < 0 {
err!("Attachment size can't be negative")
}
let attachment_id = crypto::generate_attachment_id();

Loading…
Cancel
Save