Commit d6bb42de authored by Vaibhav's avatar Vaibhav
Browse files

Issue #SB-23374 fix : Image validation message issue fixes

Showing with 1 addition and 1 deletion
+1 -1
......@@ -200,7 +200,7 @@ const validateFileType = (data, callback) => {
if(allowedMimeType.includes(data.mimeType)) {
callback(null, data);
} else {
callback(`Images mimetype should be one of: [JPG|PNG]]'`);
callback('Invalid image format! Image format must be JPG or PNG');
}
}
......
Supports Markdown
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