This commit is contained in:
tamaina 2021-09-18 22:23:06 +09:00
parent 4c9acc29bb
commit 9400dc5580
1 changed files with 2 additions and 2 deletions

View File

@ -163,8 +163,8 @@ async function composeNotification(data: pushNotificationData): Promise<[string,
}];
case 'app':
return [body.header || body.body , {
body: body.header ? body.body : undefined,
return [body.header, {
body: body.body,
icon: body.icon,
data
}];