This commit is contained in:
syuilo
2020-03-29 10:49:43 +09:00
parent 52feba0e3a
commit bb835a6e8a
4 changed files with 7 additions and 7 deletions

View File

@ -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,