通知作成時にpackしてnullになったらあとの処理をやめる
This commit is contained in:
parent
b09abb8c59
commit
ef65252148
|
@ -155,6 +155,8 @@ export class NotificationService implements OnApplicationShutdown {
|
|||
|
||||
const packed = await this.notificationEntityService.pack(notification, notifieeId, {});
|
||||
|
||||
if (packed === null) return null;
|
||||
|
||||
// Publish notification event
|
||||
this.globalEventService.publishMainStream(notifieeId, 'notification', packed);
|
||||
|
||||
|
|
Loading…
Reference in New Issue