This commit is contained in:
parent
32cb810f51
commit
2b7d5a25b5
|
@ -783,9 +783,7 @@ async def unpublish_shout(_, info, shout_id: int):
|
||||||
)
|
)
|
||||||
|
|
||||||
# Добавляем main_topic
|
# Добавляем main_topic
|
||||||
main_topic = get_main_topic(shout.topics)
|
shout_dict["main_topic"] = get_main_topic(shout.topics)
|
||||||
if main_topic["id"]:
|
|
||||||
shout_dict["main_topic"] = main_topic
|
|
||||||
|
|
||||||
# Добавляем авторов
|
# Добавляем авторов
|
||||||
shout_dict["authors"] = (
|
shout_dict["authors"] = (
|
||||||
|
|
Loading…
Reference in New Issue
Block a user