Skip to content

Commit 0501b22

Browse files
author
meow12
authored
feat(notifications): specific account token (#85)
can register device token for specific account
1 parent 9a4992f commit 0501b22

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/components/push.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import {objectOrStringToString, toQueryString} from '../utils';
66
export async function registerDeviceToken({
77
secretKey,
88
provider,
9+
accountId,
910
token,
1011
userId,
1112
deviceId,
@@ -29,6 +30,7 @@ export async function registerDeviceToken({
2930
},
3031
body: JSON.stringify({
3132
provider,
33+
accountId,
3234
token,
3335
userId,
3436
deviceId,

0 commit comments

Comments
 (0)