mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-07-16 11:11:43 +00:00
remove console.log used for debugging
This commit is contained in:
parent
3c338ddcd7
commit
457264faa1
2 changed files with 0 additions and 4 deletions
|
|
@ -20,9 +20,7 @@ angular.module('habitrpg')
|
|||
|
||||
// Something has changed on the user object that was not tracked here, sync the user
|
||||
if (isNotSync && ($rootScope.User.user._v - oldUserV) > 1) {
|
||||
console.log('before sync', Date.now())
|
||||
$rootScope.User.sync();
|
||||
console.log('after sync', Date.now())
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -82,9 +82,7 @@ angular.module('habitrpg')
|
|||
.then(function (response) {
|
||||
if (response.data.message) Notification.text(response.data.message);
|
||||
|
||||
console.log('before extend', Date.now())
|
||||
_.extend(user, response.data.data);
|
||||
console.log('after extend', Date.now())
|
||||
|
||||
$rootScope.$emit('userUpdated', user);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue