Fix TooManyRequests http code

This commit is contained in:
Alice Gaudon 2020-04-24 11:11:03 +02:00
parent 7cac813a24
commit 2d22e702ab
2 changed files with 2 additions and 2 deletions

View File

@ -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>",

View File

@ -69,7 +69,7 @@ export class TooManyRequestsHttpError extends BadRequestError {
} }
get errorCode(): number { get errorCode(): number {
return 404; return 429;
} }
} }