parent
c7129d5190
commit
f62ad3ed3e
19 changed files with 581 additions and 66 deletions
|
|
@ -42,8 +42,8 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
|
|||
this.notificationService.createNotification(user.id, 'app', {
|
||||
appAccessTokenId: token ? token.id : null,
|
||||
customBody: ps.body,
|
||||
customHeader: ps.header ?? token?.name,
|
||||
customIcon: ps.icon ?? token?.iconUrl,
|
||||
customHeader: ps.header ?? token?.name ?? null,
|
||||
customIcon: ps.icon ?? token?.iconUrl ?? null,
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue