Commit 4fd6793c 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 #70307839 canceled with stages
......@@ -404,7 +404,7 @@ export class AttachmentService {
private checkFileType(file): Promise<any> {
return new Promise((resolve, reject) => {
if (file.type && file.type.indexOf('video/') === 0) {
if (file.size > 1900000000) {
if (file.size > 3900000000) {
throw new Error('File exceeds 1.9GB maximum size. Please try compressing your file.');
}
......
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