Skip to content

Commit 380f0e7

Browse files
shrink changes
1 parent 43b8434 commit 380f0e7

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,10 +473,11 @@ class PushClass {
473473
createdBy: '<SERVER>',
474474
sent: false,
475475
sending: 0,
476-
...pick(options, 'from', 'userId', 'payload', 'badge', 'sound', 'notId', 'priority', 'useVoipToken'),
477476
...(options.title && { title: truncateString(options.title, PUSH_TITLE_LIMIT) }),
478477
...(options.text && { text: truncateString(options.text, PUSH_MESSAGE_BODY_LIMIT) }),
479478

479+
...pick(options, 'from', 'userId', 'payload', 'badge', 'sound', 'notId', 'priority', 'useVoipToken'),
480+
480481
...(this.hasApnOptions(options)
481482
? {
482483
apn: {

0 commit comments

Comments
 (0)