mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-12 23:35:58 +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!
|
||||
$image: ImageInput
|
||||
$categoryIds: [ID]
|
||||
$postType: PostType
|
||||
$eventInput: _EventInput
|
||||
) {
|
||||
UpdatePost(
|
||||
id: $id
|
||||
@ -68,6 +70,8 @@ export default () => {
|
||||
content: $content
|
||||
image: $image
|
||||
categoryIds: $categoryIds
|
||||
postType: $postType
|
||||
eventInput: $eventInput
|
||||
) {
|
||||
id
|
||||
title
|
||||
@ -85,6 +89,14 @@ export default () => {
|
||||
name
|
||||
role
|
||||
}
|
||||
postType
|
||||
eventStart
|
||||
eventLocationName
|
||||
eventVenue
|
||||
eventLocation {
|
||||
lng
|
||||
lat
|
||||
}
|
||||
}
|
||||
}
|
||||
`,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user