fix: Prevent tavern from syncing every time a user goes to the tavern page
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
habitrpg.controller("TavernCtrl", ['$scope', 'Groups', 'User', 'Challenges',
|
||||
function($scope, Groups, User, Challenges) {
|
||||
Groups.tavern(true)
|
||||
Groups.tavern()
|
||||
.then(function (tavern) {
|
||||
$scope.group = tavern;
|
||||
Challenges.getGroupChallenges($scope.group._id)
|
||||
|
||||
Reference in New Issue
Block a user