get-my-shout-fix

This commit is contained in:
Untone 2024-03-06 16:01:46 +03:00
parent e252ce464b
commit af0c7fa712

View File

@ -3,48 +3,51 @@ import { gql } from '@urql/core'
export default gql`
query GetMyShout($shout_id: Int!) {
get_my_shout(shout_id: $shout_id) {
id
title
lead
description
subtitle
slug
layout
cover
cover_caption
body
media
updated_by {
id
name
slug
pic
created_at
}
# community
main_topic
topics {
error
shout {
id
title
lead
description
subtitle
slug
layout
cover
cover_caption
body
slug
stat {
shouts
authors
followers
media
updated_by {
id
name
slug
pic
created_at
}
# community
main_topic
topics {
id
title
body
slug
stat {
shouts
authors
followers
}
}
authors {
id
name
slug
pic
created_at
}
}
authors {
id
name
slug
pic
created_at
updated_at
published_at
featured_at
}
created_at
updated_at
published_at
featured_at
}
}
`