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 () => {
|
||||
return {
|
||||
CreatePost: gql(`
|
||||
CreatePost: gql`
|
||||
mutation($title: String!, $content: String!, $language: String) {
|
||||
CreatePost(title: $title, content: $content, language: $language) {
|
||||
id
|
||||
@ -13,8 +13,8 @@ export default () => {
|
||||
language
|
||||
}
|
||||
}
|
||||
`),
|
||||
UpdatePost: gql(`
|
||||
`,
|
||||
UpdatePost: gql`
|
||||
mutation($id: ID!, $title: String!, $content: String!, $language: String) {
|
||||
UpdatePost(id: $id, title: $title, content: $content, language: $language) {
|
||||
id
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user