Apply suggestions from code review
Co-authored-by: Patrick Jungermann <patrick.jungermann@gmail.com> Signed-off-by: Rogerio Angeliski <angeliski@hotmail.com>
This commit is contained in:
committed by
GitHub
parent
b95aa77ce2
commit
144661b05f
@@ -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.
|
||||
|
||||
@@ -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.`,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user