From 35f1e10b7c68b92cf3294a7b64c52ab8eb1c432c Mon Sep 17 00:00:00 2001 From: Skylar Ittner Date: Fri, 9 Nov 2018 00:40:03 -0700 Subject: [PATCH] Fix "Error: null" message --- www/js/setup1.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/js/setup1.js b/www/js/setup1.js index 239b313..a9047e7 100644 --- a/www/js/setup1.js +++ b/www/js/setup1.js @@ -120,7 +120,7 @@ function personalsetup() { navigator.notification.alert("Account connected!", null, "Success", 'Continue'); restartApplication(); } else if (result.status == "ERROR") { - navigator.notification.alert(result.message, null, "Error", 'Dismiss'); + navigator.notification.alert(result.msg, null, "Error", 'Dismiss'); } else { navigator.notification.alert("Something went wrong, please try again.", null, "Error", 'Dismiss'); }