Skip to content

Commit 9c01b42

Browse files
committed
Correct deprecated messages
1 parent d982351 commit 9c01b42

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/angular-meteor-data/modules/angular-meteor-user.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ angularMeteorUser.service('$meteorUser', [
2828
};
2929

3030
this.requireUser = function(){
31-
console.warn('[angular-meteor.waitForUser] Please note that this method is deprecated sine 1.3.0 and will be removed in 1.4.0!');
31+
console.warn('[angular-meteor.requireUser] Please note that this method is deprecated sine 1.3.0 and will be removed in 1.4.0!');
3232

3333
var deferred = $q.defer();
3434

@@ -45,7 +45,7 @@ angularMeteorUser.service('$meteorUser', [
4545
};
4646

4747
this.requireValidUser = function(validatorFn) {
48-
console.warn('[angular-meteor.waitForUser] Please note that this method is deprecated sine 1.3.0 and will be removed in 1.4.0!');
48+
console.warn('[angular-meteor.requireValidUser] Please note that this method is deprecated sine 1.3.0 and will be removed in 1.4.0!');
4949

5050
return self.requireUser().then(function(user){
5151
var valid = validatorFn( user );
@@ -86,4 +86,4 @@ angularMeteorUser.run([
8686
$rootScope.loggingIn = Meteor.loggingIn();
8787
});
8888
}
89-
]);
89+
]);

0 commit comments

Comments
 (0)