mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Change update post mutation to new schema.
Co-authored-by: Tirokk <wolle.huss@pjannto.com> Co-authored-by: maeckes <markus@infinity.labs.ooo>
This commit is contained in:
parent
71d964ae93
commit
46d8244b57
@ -61,6 +61,8 @@ export default () => {
|
|||||||
$content: String!
|
$content: String!
|
||||||
$image: ImageInput
|
$image: ImageInput
|
||||||
$categoryIds: [ID]
|
$categoryIds: [ID]
|
||||||
|
$postType: PostType
|
||||||
|
$eventInput: _EventInput
|
||||||
) {
|
) {
|
||||||
UpdatePost(
|
UpdatePost(
|
||||||
id: $id
|
id: $id
|
||||||
@ -68,6 +70,8 @@ export default () => {
|
|||||||
content: $content
|
content: $content
|
||||||
image: $image
|
image: $image
|
||||||
categoryIds: $categoryIds
|
categoryIds: $categoryIds
|
||||||
|
postType: $postType
|
||||||
|
eventInput: $eventInput
|
||||||
) {
|
) {
|
||||||
id
|
id
|
||||||
title
|
title
|
||||||
@ -85,6 +89,14 @@ export default () => {
|
|||||||
name
|
name
|
||||||
role
|
role
|
||||||
}
|
}
|
||||||
|
postType
|
||||||
|
eventStart
|
||||||
|
eventLocationName
|
||||||
|
eventVenue
|
||||||
|
eventLocation {
|
||||||
|
lng
|
||||||
|
lat
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
`,
|
`,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user