mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 07:07:35 +01:00
Correct getChallenges name
This commit is contained in:
@@ -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({});
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user