This commit is contained in:
2023-10-11 11:56:46 +03:00
21 changed files with 651 additions and 254 deletions

View File

@@ -137,7 +137,7 @@ async def load_shouts_by(_, info, options):
"""
:param options: {
filters: {
layout: 'audio',
layout: 'music',
excludeLayout: 'article',
visibility: "public",
author: 'discours',
@@ -208,6 +208,7 @@ async def load_shouts_by(_, info, options):
@query.field("loadDrafts")
@login_required
async def get_drafts(_, info):
auth: AuthCredentials = info.context["request"].auth
user_id = auth.user_id