Missing step between 16.8 and 16.9 - fcmToken does not exists on type 'Users'
Opened this issue · 3 comments
shyne99 commented
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 commented
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 commented
Exactly.