Skip to content

Commit

Permalink
sync messages
Browse files Browse the repository at this point in the history
  • Loading branch information
volodymyr-basiuk committed Jan 14, 2025
1 parent 5140e35 commit 57d6b69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/auth/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ export class Verifier {
if (request.body.accept?.length) {
const acceptedMediaTypes = request.body.accept.map(accept => parseAcceptProfile(accept).env);
if (!acceptedMediaTypes.includes(msg.unpackedMediaType)) {
throw new Error('response media type is not accepted by request');
throw new Error('response type is not in accept profiles of the request');
}
}

Expand Down

0 comments on commit 57d6b69

Please sign in to comment.