Urigo / meteor-angular-socially

angular-meteor example and tutorial app
https://www.angular-meteor.com/tutorials/socially/angular1/bootstrapping
155 stars 144 forks source link

Correcting Step 8.7 #131

Closed cloverharvest closed 8 years ago

cloverharvest commented 8 years ago

._id (returns an Error: _id is null) in

Line 15: this.party.owner = Meteor.user( )._id

change to correct method Meteor.userId( ) :

Line 15: this.party.owner = Meteor.userId( )

cloverharvest commented 8 years ago

Closing this.

Meteor.user()._id causes an error in Step 8.7.

But Step 9 will show Meteor.user()._id is needed to pass the test and thus reveals itself as the right code.