Correct method to correctly add an hourglass in debug menu

This commit is contained in:
Blade Barringer
2015-09-13 16:25:57 -05:00
parent 50b709045d
commit b6f02d388f

View File

@@ -90,9 +90,9 @@ function($scope, $rootScope, User, $http, Notification, ApiUrl) {
};
$scope.addHourglass = function(){
User.set({
'purchased.plan.consecutive.trinkets': User.user.purchased.plan.consecutive.trinkets + 1,
});
$http.post(ApiUrl.get() + '/api/v2/user/addHourglass').success(function(){
User.log({});
})
};
$scope.addGold = function(){