From 79aa86868ba650bd760e09156a3de64bccb78900 Mon Sep 17 00:00:00 2001 From: Poe Rhiza Date: Thu, 7 Jul 2016 19:34:22 -0500 Subject: [PATCH] fix(index): errorcode for invalid image size matchs width being checked --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index ad71163..469e12b 100644 --- a/index.js +++ b/index.js @@ -105,7 +105,7 @@ app.post('/upload', upload.single('file'), function(req, res, next){ */ if ( ( file.width < 960 ) || ( file.height < 300 ) ) { - return callback( new Error( 'Image must be at least 640 x 300 pixels' ) ); + return callback( new Error( 'Image must be at least 900 x 300 pixels' ) ); }