fix bug in create user notif

This commit is contained in:
2025-12-23 21:41:24 +03:30
parent 616287a87f
commit 7e247c037d
@@ -85,6 +85,7 @@ export class NotificationService {
return this.em.create(Notification, { return this.em.create(Notification, {
restaurant: param.restaurantId, restaurant: param.restaurantId,
admin: param.adminId, admin: param.adminId,
user: param.userId && param.userId.trim() !== '' ? param.userId : null,
title: param.title, title: param.title,
content: param.content, content: param.content,
}); });