-Fix user roles getting

This commit is contained in:
Juan Carlos Ruvalcaba 2021-04-13 15:06:52 -07:00
parent a23e95ca0a
commit 736a43dbb0

View File

@ -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;