login-required-async-fix
All checks were successful
Deploy on push / deploy (push) Successful in 26s

This commit is contained in:
Untone 2024-02-27 13:21:50 +03:00
parent 4ee4c3595a
commit 03568ecea0

View File

@ -44,7 +44,7 @@ def get_topic(_, _info, slug: str):
@mutation.field('create_topic')
@login_required
def create_topic(_, _info, inp):
async def create_topic(_, _info, inp):
with local_session() as session:
# TODO: check user permissions to create topic for exact community
# and actor is permitted to craete it