update-shout-fix-6

This commit is contained in:
2024-03-05 18:04:47 +03:00
parent ee7c464065
commit fa76d6c7b4
2 changed files with 4 additions and 5 deletions

View File

@@ -230,8 +230,8 @@ async def load_shouts_by(_, _info, options):
return shouts
@query.field('load_shouts_drafts')
@login_required
@query.field('load_shouts_drafts')
async def load_shouts_drafts(_, info):
user_id = info.context.get('user_id')
shouts = []