Skip to content

Commit 583a96c

Browse files
committed
chore(docs): Fix requireValidUser example. fixes #1191
1 parent 4db8f8f commit 583a96c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/angular-meteor/client/content/api-reference/angular1-meteor/1.3.2/api.auth.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
In order to use this service, you will need to add the package to your project and add it's module as a dependency to your AngularJS app:
2323

2424
meteor add angular-meteor-auth
25-
25+
2626
angular.module('myApp', [
2727
'angular-meteor',
2828
'angular-meteor.auth'
@@ -88,7 +88,7 @@
8888
template: '<my-component></my-component>',
8989
resolve: {
9090
user: ($auth) => {
91-
return $auth.requireValidUser((user) => {);
91+
return $auth.requireValidUser((user) => {
9292
if (user.firstName === 'Uri') {
9393
return true;
9494
}

docs/angular-meteor/client/content/api-reference/angular1-meteor/1.3.6/api.auth.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
template: '<my-component></my-component>',
9898
resolve: {
9999
user: ($auth) => {
100-
return $auth.requireValidUser((user) => {);
100+
return $auth.requireValidUser((user) => {
101101
if (user.firstName === 'Uri') {
102102
return true;
103103
}

0 commit comments

Comments
 (0)