Notifications accept.
This commit is contained in:
parent
30fe0bfae7
commit
edb35b5707
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user