Notifications accept.

This commit is contained in:
retoor 2025-03-05 18:40:53 +01:00
parent 30fe0bfae7
commit edb35b5707

View File

@ -61,7 +61,7 @@ class BaseService:
if not "_limit" in kwargs or int(kwargs.get("_limit")) > 30:
kwargs["_limit"] = 60
async for model in self.mapper.find(**kwargs):
yield await self.get(uid=model["uid"])
yield model
async def delete(self, **kwargs):
return await self.mapper.delete(**kwargs)