Commit 04d03f2d authored by Audrey Hamelers's avatar Audrey Hamelers
parent 68b65134
Pipeline #13460 failed with stages
in 12 seconds
......@@ -359,7 +359,7 @@ async function deposit(manuscript, adminUser) {
const files =
manuscript.files &&
manuscript.files.filter(file => !file.deleted && file.type === 'IMGprint')
const bigfiles = files.filter(file => file.size > 20000000)
const bigfiles = files.filter(file => file.size > 24000000)
if (bigfiles.length > 0) {
const err = `Unable to generate PDF. The following TIFF files are too large:\n${bigfiles
.map(f => f.filename)
......
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