Browse Source

added missing semicolons to a couple of error lines

Jordan Majd 9 years ago
parent
commit
f15fb88e74
1 changed files with 2 additions and 2 deletions
  1. 2 2
      routes/index.js

+ 2 - 2
routes/index.js

@@ -39,9 +39,9 @@ router.post('/invite', function(req, res) {
             });
             return;
           } else if (error === 'invalid_email') {
-            error = 'The email you entered is an invalid email.'
+            error = 'The email you entered is an invalid email.';
           } else if (error === 'invalid_auth') {
-            error = 'Something has gone wrong. Please contact a system administrator.'
+            error = 'Something has gone wrong. Please contact a system administrator.';
           }
 
           res.render('result', {