Skip to content

Commit

Permalink
Merge pull request #62 from clburlison/patch-1
Browse files Browse the repository at this point in the history
Fix initial user subscription
  • Loading branch information
versx authored Jun 9, 2021
2 parents 191cdb0 + e2af93f commit 4dc4a7e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/models/subscription.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const NotificationStatusType = {
Invasions: 0x10,
Lures: 0x20,
Gyms: 0x40,
All: this.Pokemon | this.PvP | this.Raids | this.Quests | this.Invasions | this.Lures | this.Gyms,
All: NotificationStatusType.Pokemon | NotificationStatusType.PvP | NotificationStatusType.Raids | NotificationStatusType.Quests | NotificationStatusType.Invasions | NotificationStatusType.Lures | NotificationStatusType.Gyms,
};

class Subscription extends Model {
Expand Down Expand Up @@ -134,4 +134,4 @@ Subscription.Gyms = Subscription.hasMany(Gym);
*/

// Export the class
module.exports = { Subscription, NotificationStatusType, };
module.exports = { Subscription, NotificationStatusType, };

0 comments on commit 4dc4a7e

Please sign in to comment.