diff --git a/JavaScript/test.js b/JavaScript/test.js index 0fae76c..49683bb 100644 --- a/JavaScript/test.js +++ b/JavaScript/test.js @@ -31,7 +31,7 @@ try { throw new Error("Please provide your application id and password!"); } - if( imagePath == 'myFile.jpg') { + if( imagePath != 'myFile.jpg') { throw new Error( "Please provide path to your image!") }