This commit is contained in:
@@ -515,7 +515,7 @@ async def publish_draft(_: None, info: GraphQLResolveInfo, draft_id: int) -> dic
|
||||
# Возвращаем обновленный черновик с информацией о shout
|
||||
draft_dict = create_draft_dict(draft)
|
||||
|
||||
# Добавляем информацию о shout
|
||||
# Добавляем информацию о публикации
|
||||
draft_dict["shout"] = {"id": shout.id, "slug": shout.slug, "published_at": shout.published_at}
|
||||
|
||||
return {"draft": draft_dict}
|
||||
|
||||
Reference in New Issue
Block a user