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:
Rogerio Angeliski
2025-02-26 20:16:47 -03:00
committed by GitHub
parent b95aa77ce2
commit 144661b05f
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -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.`,
);
}
}