trig-ci
Some checks failed
deploy / deploy (push) Has been cancelled

This commit is contained in:
2023-11-28 23:13:42 +03:00
parent 269c0e449f
commit aaf4c0b876
2 changed files with 8 additions and 5 deletions

View File

@@ -243,7 +243,6 @@ async def rate_author(_, info, rated_slug, value):
async def create_author(user_id: str, slug: str):
with local_session() as session:
# TODO: check Authorization header
new_author = Author(user=user_id, slug=slug)
session.add(new_author)
session.commit()