This commit is contained in:
parent
ab6ef76a34
commit
a7f163009e
|
@ -1,3 +1,6 @@
|
||||||
|
[0.3.4]
|
||||||
|
- load_authors_by from cache
|
||||||
|
|
||||||
[0.3.3]
|
[0.3.3]
|
||||||
- feat: sentry integration enabled with glitchtip
|
- feat: sentry integration enabled with glitchtip
|
||||||
- fix: reindex on update shout
|
- fix: reindex on update shout
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "core"
|
name = "core"
|
||||||
version = "0.3.3"
|
version = "0.3.4"
|
||||||
description = "core module for discours.io"
|
description = "core module for discours.io"
|
||||||
authors = ["discoursio devteam"]
|
authors = ["discoursio devteam"]
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
|
|
@ -122,7 +122,7 @@ async def get_author_id(_, _info, user: str):
|
||||||
|
|
||||||
|
|
||||||
@query.field("load_authors_by")
|
@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}")
|
logger.debug(f"loading authors by {by}")
|
||||||
q = select(Author)
|
q = select(Author)
|
||||||
if by.get("slug"):
|
if by.get("slug"):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user