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` export default gql`
query GetMyShout($shout_id: Int!) { query GetMyShout($shout_id: Int!) {
get_my_shout(shout_id: $shout_id) { get_my_shout(shout_id: $shout_id) {
id error
title shout {
lead
description
subtitle
slug
layout
cover
cover_caption
body
media
updated_by {
id
name
slug
pic
created_at
}
# community
main_topic
topics {
id id
title title
lead
description
subtitle
slug
layout
cover
cover_caption
body body
slug media
stat { updated_by {
shouts id
authors name
followers 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 created_at
updated_at
published_at
featured_at
} }
created_at
updated_at
published_at
featured_at
} }
} }
` `