diff options
author | Vitaly Takmazov | 2023-06-07 21:57:20 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-06-07 21:57:20 +0300 |
commit | 2bc4c4580552ad084c5dd06f22ee1ea333905a14 (patch) | |
tree | 0e4f625921249f6e140fad5df44e2581f1c9a07f /vnext/server/sender.js | |
parent | 7bbbcf0df392be397ce70e78d218e0d2fcd0815a (diff) |
vnext: cleanup lint warnings
Diffstat (limited to 'vnext/server/sender.js')
-rw-r--r-- | vnext/server/sender.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vnext/server/sender.js b/vnext/server/sender.js index 48b5fb78..3f2dbc3b 100644 --- a/vnext/server/sender.js +++ b/vnext/server/sender.js @@ -118,7 +118,8 @@ export function buildNotification(user, msg) { }, timeToLive: 0 } - let { tokens, ...subscriber } = user + const subscriber = { ...user } + delete subscriber.tokens if (msg.service) { template.contentAvailable = true template.custom.service = true |