Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing step between 16.8 and 16.9 - fcmToken does not exists on type 'Users' #117

Open
shyne99 opened this issue Aug 1, 2017 · 3 comments

Comments

@shyne99
Copy link

shyne99 commented Aug 1, 2017

Hello,

I am currently following this really good tutorial.

But it seems that a step is missing between 16.8 and 16.9. Indeed I figure out myself that we had to edit our model of User in order to add the fcmToken label inside. This is not clearly explained (or at least as explained as all the other steps) inside the tutorial itself.

Hope it will help.

@pkitatta
Copy link

pkitatta commented Sep 5, 2017

Hi @shyne99 . Thank you for this piece of info. My server was crushing because of this.

But just to add clarity to what you are saying; we need to add this line fcmToken?: string; to:

api\server\models.ts

...
export interface User extends Meteor.User {
  profile?: Profile;
  fcmToken?: string;
}

...

@shyne99
Copy link
Author

shyne99 commented Sep 6, 2017

Exactly.

@darkbasic darkbasic reopened this Oct 31, 2017
@darkbasic
Copy link
Collaborator

That's the commit: 5e50311

The commit is already in the tutorial, but somehow I messed up the template. I'll fix it in the next update. Thanks for reporting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants