Contract: pass approval option warnings, omit threadId on host pushes
This commit is contained in:
1 parent
7ad1045be4
commit
21215210e3
6 files changed
+12
-10
No files matched your search
+1
-1
@@ -35,7 +35,7 @@ const sendPush: SendPush = async (push) => {
|
||||
alert: { title: push.title, ...(push.subtitle ? { subtitle: push.subtitle } : {}), body: push.body },
|
||||
sound: "default",
|
||||
category: push.category,
|
||||
"thread-id": push.data.threadId || push.data.hostId,
|
||||
"thread-id": push.data.threadId ?? push.data.hostId,
|
||||
},
|
||||
...push.data,
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user