Fix TooManyRequests http code
This commit is contained in:
parent
7cac813a24
commit
2d22e702ab
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "wms-core",
|
"name": "wms-core",
|
||||||
"version": "0.2.8",
|
"version": "0.2.9",
|
||||||
"description": "Node web framework",
|
"description": "Node web framework",
|
||||||
"repository": "git@gitlab.com:ArisuOngaku/wms-core.git",
|
"repository": "git@gitlab.com:ArisuOngaku/wms-core.git",
|
||||||
"author": "Alice Gaudon <alice@gaudon.pro>",
|
"author": "Alice Gaudon <alice@gaudon.pro>",
|
||||||
|
@ -69,7 +69,7 @@ export class TooManyRequestsHttpError extends BadRequestError {
|
|||||||
}
|
}
|
||||||
|
|
||||||
get errorCode(): number {
|
get errorCode(): number {
|
||||||
return 404;
|
return 429;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user