mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-04 01:29:21 +00:00
halloween fix to 401 error
This commit is contained in:
parent
2c1d8e1688
commit
ec50c7d0ec
1 changed files with 1 additions and 1 deletions
|
|
@ -180,7 +180,7 @@ angular.module('userServices', []).
|
|||
if (window.habitrpgShared.helpers.dotGet('purchased.' + path, user)) {
|
||||
var pref = path.split('.')[0],
|
||||
val = path.split('.')[1];
|
||||
window.habitrpgShared.helpers.dotSet('preferences.' + pref, val, user);
|
||||
return window.habitrpgShared.helpers.dotSet('preferences.' + pref, val, user);
|
||||
} else {
|
||||
if (confirm("Purchase for 2 Gems?") !== true) return;
|
||||
if (user.balance < 0.5) return $rootScope.modals.buyGems = true;
|
||||
|
|
|
|||
Loading…
Reference in a new issue