From 62d197364d77d5d3be308ba6314d8cc4b7063317 Mon Sep 17 00:00:00 2001 From: versx Date: Sat, 12 Jun 2021 17:48:13 -0700 Subject: [PATCH] Fix enum --- src/models/subscription.js | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/src/models/subscription.js b/src/models/subscription.js index 6e0918d..cb99a77 100644 --- a/src/models/subscription.js +++ b/src/models/subscription.js @@ -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 {