2020-02-28 22:41:26 +03:00

23 lines
373 B
JavaScript

import gql from 'graphql-tag'
const ARTICLE_QUERY = gql`
query Article($id: ID!) {
article(id: $id) {
id
title
content
image {
url
}
category {
id
name
}
published_at
}
}
`
export default ARTICLE_QUERY