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
parent a461674f9d
commit f5e6e51817
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773

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