Skip to content

Commit

Permalink
fix error message type
Browse files Browse the repository at this point in the history
  • Loading branch information
arty-name committed Jul 28, 2023
1 parent 7b36778 commit 43f314c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/moderation/verify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export async function post({ request }: APIContext) {

if (type !== 'submit-credential') {
throw makeErrorResponse(
'Message contains rejection',
'Unexpected message type',
StatusCodes.BAD_REQUEST,
);
}
Expand Down

0 comments on commit 43f314c

Please sign in to comment.