mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Fix a problem in PostMutations.js which came in through merging the master
This commit is contained in:
parent
68dcbacaff
commit
23185fa29e
@ -2,7 +2,7 @@ import gql from 'graphql-tag'
|
|||||||
|
|
||||||
export default () => {
|
export default () => {
|
||||||
return {
|
return {
|
||||||
CreatePost: gql(`
|
CreatePost: gql`
|
||||||
mutation($title: String!, $content: String!, $language: String) {
|
mutation($title: String!, $content: String!, $language: String) {
|
||||||
CreatePost(title: $title, content: $content, language: $language) {
|
CreatePost(title: $title, content: $content, language: $language) {
|
||||||
id
|
id
|
||||||
@ -13,8 +13,8 @@ export default () => {
|
|||||||
language
|
language
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
`),
|
`,
|
||||||
UpdatePost: gql(`
|
UpdatePost: gql`
|
||||||
mutation($id: ID!, $title: String!, $content: String!, $language: String) {
|
mutation($id: ID!, $title: String!, $content: String!, $language: String) {
|
||||||
UpdatePost(id: $id, title: $title, content: $content, language: $language) {
|
UpdatePost(id: $id, title: $title, content: $content, language: $language) {
|
||||||
id
|
id
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user