chore: print notification payload
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
c2991b8e26
commit
454f957653
@ -171,7 +171,7 @@ function makeNotification(n: PushNotification) {
|
||||
}
|
||||
return evx.content.substring(0, 250);
|
||||
};
|
||||
return {
|
||||
const ret = {
|
||||
body: body(),
|
||||
icon: evx.author.avatar ?? defaultAvatar(evx.author.pubkey),
|
||||
badge: `${location.protocol}//${location.hostname}${CONFIG.appleTouchIconUrl}`,
|
||||
@ -179,4 +179,6 @@ function makeNotification(n: PushNotification) {
|
||||
tag: evx.id,
|
||||
data: JSON.stringify(n),
|
||||
};
|
||||
console.debug(ret);
|
||||
return ret;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user