diff --git a/.changeset/ten-impalas-hope.md b/.changeset/ten-impalas-hope.md index b770b15c6b..5bbdea7a11 100644 --- a/.changeset/ten-impalas-hope.md +++ b/.changeset/ten-impalas-hope.md @@ -1,6 +1,6 @@ --- -'@backstage/plugin-events-backend': minor -'@backstage/plugin-events-node': minor +'@backstage/plugin-events-backend': patch +'@backstage/plugin-events-node': patch --- add `addHttpPostBodyParser` to events extension to allow body parse customization. This feature will enhance flexibility in handling HTTP POST requests in event-related operations. diff --git a/plugins/events-backend/src/service/http/errors.ts b/plugins/events-backend/src/service/http/errors.ts index b078f0d40e..583f1a6b9b 100644 --- a/plugins/events-backend/src/service/http/errors.ts +++ b/plugins/events-backend/src/service/http/errors.ts @@ -32,7 +32,7 @@ export class UnsupportedMediaTypeError extends CustomErrorBase { super( `Unsupported media type: ${ mediaType ?? 'unknown' - }. You need to provide a custom body parser for this media type using events extension.`, + }. You need to provide a custom body parser for this media type using the EventsExtensionPoint.`, ); } }