fastify-load-authors-2
All checks were successful
Deploy on push / deploy (push) Successful in 49s

This commit is contained in:
Untone 2024-04-30 12:35:51 +03:00
parent ab6ef76a34
commit a7f163009e
3 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,6 @@
[0.3.4]
- load_authors_by from cache
[0.3.3]
- feat: sentry integration enabled with glitchtip
- fix: reindex on update shout

View File

@ -1,6 +1,6 @@
[tool.poetry]
name = "core"
version = "0.3.3"
version = "0.3.4"
description = "core module for discours.io"
authors = ["discoursio devteam"]
license = "MIT"

View File

@ -122,7 +122,7 @@ async def get_author_id(_, _info, user: str):
@query.field("load_authors_by")
def load_authors_by(_, _info, by, limit, offset):
async def load_authors_by(_, _info, by, limit, offset):
logger.debug(f"loading authors by {by}")
q = select(Author)
if by.get("slug"):