one-joined-query
All checks were successful
Deploy on push / deploy (push) Successful in 1m32s

This commit is contained in:
2024-02-25 13:29:57 +03:00
parent eb4a4fef61
commit c216161ece
3 changed files with 85 additions and 15 deletions

View File

@@ -126,7 +126,9 @@ def get_author_follows(_, _info, slug='', user=None, author_id=None):
return {
'topics': topics,
'authors': authors,
'communities': [{'id': 1, 'name': 'Дискурс', 'slug': 'discours', 'pic': ''}],
'communities': [
{'id': 1, 'name': 'Дискурс', 'slug': 'discours', 'pic': ''}
],
}
else:
raise ValueError('Author not found')