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