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
$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