progress.

This commit is contained in:
2025-05-09 14:08:46 +02:00
parent 7e8ae1632d
commit 95ad49df43
9 changed files with 255 additions and 6 deletions
+3
View File
@@ -7,6 +7,9 @@ from snek.system.service import BaseService
class UserService(BaseService):
mapper_name = "user"
async def get_by_username(self, username):
return await self.get(username=username)
async def search(self, query, **kwargs):
query = query.strip().lower()
if not query: