Commit e4f0f6e0 authored by Ben Hayward's avatar Ben Hayward

Update attachment.ts

1 merge request!438[Sprint/InterestingIguana](bug): Throwing exception when max filesize reached
Pipeline #70309414 passed with stages
in 30 minutes and 26 seconds
......@@ -405,7 +405,7 @@ export class AttachmentService {
return new Promise((resolve, reject) => {
if (file.type && file.type.indexOf('video/') === 0) {
if (file.size > 3900000000) {
throw new Error('File exceeds 1.9GB maximum size. Please try compressing your file.');
throw new Error('File exceeds 3.9GB maximum size. Please try compressing your file.');
}
this.attachment.mime = 'video';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment