-
Notifications
You must be signed in to change notification settings - Fork 186
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace generic HTTP status codes in the API controller (#4710)
* Add http status codes constants * Replace internal server errors for service unavailable * Added changelog and made the error constant an enum * Add HTTP status unit test * Update CHANGELOG.md Co-authored-by: Álex <alejandro.ruiz.becerra@wazuh.com>
- Loading branch information
1 parent
8ec037c
commit 9f53850
Showing
4 changed files
with
268 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.