summaryrefslogtreecommitdiffstats
path: root/dist/js/meals.js
diff options
context:
space:
mode:
Diffstat (limited to 'dist/js/meals.js')
-rw-r--r--dist/js/meals.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/dist/js/meals.js b/dist/js/meals.js
index 0a5313a..e9b3af8 100644
--- a/dist/js/meals.js
+++ b/dist/js/meals.js
@@ -49,7 +49,7 @@ async function getToken(callback, callbackparams = []) {
type: "POST",
success: (dataauth) => {
- if(dataauth === null || dataauth.error == true) {
+ if(dataauth == null || dataauth.error == true) {
UIAlert(D("authenticationError"), "getToken(): response error or null");
localforage.setItem("logged_in_lopolis", false).then( function(){
checkLogin();
@@ -97,7 +97,7 @@ async function getMenus(dataauth, callback, callbackparams = []) {
type: "POST",
success: (meals) => {
- if(meals === null || meals.error == true) {
+ if(meals == null || meals.error == true) {
UIAlert( D("errorGettingMenus"), "getMenus(): response error or null");
setLoading(false);
localforage.setItem("logged_in_lopolis", false).then( () => {