mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2026-01-11 18:04:27 +08:00
updated status code
This commit is contained in:
parent
601e5f522b
commit
2fdf28fcf3
1 changed files with 1 additions and 1 deletions
|
|
@ -76,7 +76,7 @@ function requestValidation(validationSchema) {
|
|||
if (error) {
|
||||
const errorMessage = error.details[0].message;
|
||||
throw new MonkeyError(
|
||||
400,
|
||||
500,
|
||||
validationErrorMessage ?? `Invalid request: ${errorMessage}`
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue