Fix bug
This commit is contained in:
parent
52feba0e3a
commit
bb835a6e8a
4 changed files with 7 additions and 7 deletions
|
|
@ -29,7 +29,7 @@ export const meta = {
|
|||
|
||||
export default define(meta, async (ps, user, token) => {
|
||||
createNotification(user.id, 'app', {
|
||||
appAccessTokenId: token.id,
|
||||
appAccessTokenId: token ? token.id : null,
|
||||
customBody: ps.body,
|
||||
customHeader: ps.header,
|
||||
customIcon: ps.icon,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue