Face Analyze, Analyze group

This commit is contained in:
Daniel Odendahl Jr
2018-03-08 22:49:19 +00:00
parent 35f4bd0bbe
commit 10e9fc0c02
18 changed files with 88 additions and 21 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ class ImageArgumentType extends ArgumentType {
return valid;
}
if (!attachment.height || !attachment.width) return false;
if (attachment.size > 1000000) return false;
if (attachment.size > 8e+6) return 'Please provide an image under 8 MB.';
return true;
}