mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-07-14 10:12:21 +00:00
Correct getChallenges name
This commit is contained in:
parent
12e0bda8a2
commit
0b85dc3e27
1 changed files with 2 additions and 2 deletions
|
|
@ -232,7 +232,7 @@ habitrpg.controller("ChallengesCtrl", ['$rootScope','$scope', 'Shared', 'User',
|
|||
|
||||
$scope.join = function(challenge){
|
||||
challenge.$join(function(){
|
||||
getChallenges()
|
||||
_getChallenges()
|
||||
User.log({});
|
||||
});
|
||||
|
||||
|
|
@ -243,7 +243,7 @@ habitrpg.controller("ChallengesCtrl", ['$rootScope','$scope', 'Shared', 'User',
|
|||
$scope.selectedChal = undefined;
|
||||
} else {
|
||||
$scope.selectedChal.$leave({keep:keep}, function(){
|
||||
getChallenges()
|
||||
_getChallenges()
|
||||
User.log({});
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue