fix bug in create user notif
This commit is contained in:
@@ -85,6 +85,7 @@ export class NotificationService {
|
||||
return this.em.create(Notification, {
|
||||
restaurant: param.restaurantId,
|
||||
admin: param.adminId,
|
||||
user: param.userId && param.userId.trim() !== '' ? param.userId : null,
|
||||
title: param.title,
|
||||
content: param.content,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user