From 62279bda5f23f29948166053af3c7924fb96f0a7 Mon Sep 17 00:00:00 2001 From: Joe Corall Date: Wed, 15 May 2024 10:35:26 -0400 Subject: [PATCH] Fix event key names --- pkg/api/events.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/api/events.go b/pkg/api/events.go index b115f82..189bbcf 100644 --- a/pkg/api/events.go +++ b/pkg/api/events.go @@ -63,9 +63,9 @@ type Content struct { SourceMimeType string `json:"source_mimetype,omitempty" description:"MIME type of the source URI"` DestinationMimeType string `json:"mimetype" description:"MIME type of the derivative being created"` Args string `json:"args" description:"Arguments used or applicable to the content"` - SourceURI string `json:"sourceUri" description:"Source URI from which the content is fetched"` - DestinationURI string `json:"destinationUri" description:"Destination URI to where the content is delivered"` - FileUploadURI string `json:"fileUploadUri" description:"File upload URI for uploading the content"` + SourceURI string `json:"source_uri" description:"Source URI from which the content is fetched"` + DestinationURI string `json:"destination_uri" description:"Destination URI to where the content is delivered"` + FileUploadURI string `json:"file_upload_uri" description:"File upload URI for uploading the content"` } // decode the event message sent by Islandora directly from ActiveMQ