Skip to content

Commit

Permalink
feat: new precondition failed status code (#187)
Browse files Browse the repository at this point in the history
Adding new status code add HttpStatus enum that represents the 412
status.
  • Loading branch information
gabrielforster authored Jul 5, 2023
1 parent feac2bf commit f993751
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "adapcon-utils-js",
"version": "0.16.0",
"version": "0.16.1",
"description": "Utils library for Javascript",
"keywords": [],
"author": {
Expand Down
1 change: 1 addition & 0 deletions src/http/enums.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export enum HttpStatuses {
notFound = 404,
userNotFound = 404,
integrationError = 406,
preconditionFailed = 412,
teaPot = 418,
unprocessableEntity = 422,
internalError = 500,
Expand Down

0 comments on commit f993751

Please sign in to comment.