Skip to content

Commit

Permalink
Fix enum
Browse files Browse the repository at this point in the history
  • Loading branch information
versx committed Jun 13, 2021
1 parent 4dc4a7e commit 62d1973
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion src/models/subscription.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,23 @@ const NotificationStatusType = {
Invasions: 0x10,
Lures: 0x20,
Gyms: 0x40,
All: NotificationStatusType.Pokemon | NotificationStatusType.PvP | NotificationStatusType.Raids | NotificationStatusType.Quests | NotificationStatusType.Invasions | NotificationStatusType.Lures | NotificationStatusType.Gyms,
/*
All: this.Pokemon
| this.PvP
| this.Raids
| this.Quests
| this.Invasions
| this.Lures
| this.Gyms,
*/
};
NotificationStatusType.All = NotificationStatusType.Pokemon
| NotificationStatusType.PvP
| NotificationStatusType.Raids
| NotificationStatusType.Quests
| NotificationStatusType.Invasions
| NotificationStatusType.Lures
| NotificationStatusType.Gyms;

class Subscription extends Model {

Expand Down

0 comments on commit 62d1973

Please sign in to comment.