Notifications accept.
This commit is contained in:
		
							parent
							
								
									8d3d7327d7
								
							
						
					
					
						commit
						4df6055566
					
				| @ -21,7 +21,6 @@ class NotificationService(BaseService): | ||||
|         model["object_type"] = object_type | ||||
|         model["user_uid"] = user_uid | ||||
|         model["message"] = message | ||||
|         model['new_count'] = 1337 | ||||
|         if await self.save(model): | ||||
|             return model | ||||
|         raise Exception(f"Failed to create notification: {model.errors}.") | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user