fix
This commit is contained in:
parent
4c9acc29bb
commit
9400dc5580
|
@ -163,8 +163,8 @@ async function composeNotification(data: pushNotificationData): Promise<[string,
|
||||||
}];
|
}];
|
||||||
|
|
||||||
case 'app':
|
case 'app':
|
||||||
return [body.header || body.body , {
|
return [body.header, {
|
||||||
body: body.header ? body.body : undefined,
|
body: body.body,
|
||||||
icon: body.icon,
|
icon: body.icon,
|
||||||
data
|
data
|
||||||
}];
|
}];
|
||||||
|
|
Loading…
Reference in New Issue