Skip to content

Commit 4e6c4be

Browse files
Apply suggestion from @sampaiodiego
Co-authored-by: Diego Sampaio <chinello@gmail.com>
1 parent 742c12c commit 4e6c4be

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/meteor/app/push/server/push.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ class PushClass {
500500
this._validateDocument(notification);
501501

502502
try {
503-
await this.sendNotification(notification, pick(options, 'skipTokenId'));
503+
await this.sendNotification(notification, { skipTokenId: options.skipTokenId });
504504
} catch (error: any) {
505505
logger.debug({
506506
msg: 'Could not send notification to user',

0 commit comments

Comments
 (0)