mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-22 03:34:14 +00:00
fix: Prevent tavern from syncing every time a user goes to the tavern page
This commit is contained in:
parent
006b074ac2
commit
3f8ab017ce
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue