Fix invalid GraphQL request for event creation/update

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2022-03-23 12:31:42 +01:00 committed by tykayn
parent b849a63cc6
commit 5c65a4b892

View File

@ -207,7 +207,7 @@ export const CREATE_EVENT = gql`
$physicalAddress: AddressInput $physicalAddress: AddressInput
$options: EventOptionsInput $options: EventOptionsInput
$contacts: [Contact] $contacts: [Contact]
$metadata: EventMetadataInput $metadata: [EventMetadataInput]
) { ) {
createEvent( createEvent(
organizerActorId: $organizerActorId organizerActorId: $organizerActorId
@ -257,7 +257,7 @@ export const EDIT_EVENT = gql`
$physicalAddress: AddressInput $physicalAddress: AddressInput
$options: EventOptionsInput $options: EventOptionsInput
$contacts: [Contact] $contacts: [Contact]
$metadata: EventMetadataInput $metadata: [EventMetadataInput]
) { ) {
updateEvent( updateEvent(
eventId: $id eventId: $id