login-required-async-fix
All checks were successful
Deploy on push / deploy (push) Successful in 26s
All checks were successful
Deploy on push / deploy (push) Successful in 26s
This commit is contained in:
parent
4ee4c3595a
commit
03568ecea0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user