diff --git a/src/js/controllers/users.js b/src/js/controllers/users.js index 90e19fb..9b749ad 100644 --- a/src/js/controllers/users.js +++ b/src/js/controllers/users.js @@ -22,7 +22,7 @@ let User = { }; localStorage.setItem("request_params", JSON.stringify(params)); delete userData.data.token; - userData["userPermissions"] = [1, 4, 14, 15]; //Owner, Customer, Seller, Deliverer + userData.data["userPermissions"] = [1, 4, 14, 15]; //Owner, Customer, Seller, Deliverer localStorage.setItem("userData",JSON.stringify(userData.data)); return true;