Notifications accept.

This commit is contained in:
retoor 2025-03-05 18:18:06 +01:00
parent 8d3d7327d7
commit 4df6055566

View File

@ -21,7 +21,6 @@ class NotificationService(BaseService):
model["object_type"] = object_type model["object_type"] = object_type
model["user_uid"] = user_uid model["user_uid"] = user_uid
model["message"] = message model["message"] = message
model['new_count'] = 1337
if await self.save(model): if await self.save(model):
return model return model
raise Exception(f"Failed to create notification: {model.errors}.") raise Exception(f"Failed to create notification: {model.errors}.")