fix: Fix quest progress button

This commit is contained in:
Blade Barringer
2016-05-15 21:06:53 -05:00
parent 08d4b13b05
commit 6bbfbbf613
4 changed files with 119 additions and 6 deletions

View File

@@ -118,11 +118,15 @@ function($scope, $rootScope, User, $http, Notification, ApiUrl, Social) {
});
};
$scope.addBossQuestProgressUp = function(){
//@TODO: Route?
User.set({
'party.quest.progress.up': User.user.party.quest.progress.up + 1000
});
$scope.addQuestProgress = function(){
$http({
method: "POST",
url: 'api/v3/debug/quest-progress'
})
.then(function (response) {
Notification.text('Quest progress increased');
User.sync();
})
};
$scope.makeAdmin = function () {