Closed AntonioMrtz closed 1 month ago
We want to replace all hardcoded HTTP Status checks on frontend for an Enum.
HTTP Status codes are spread all over the frontend code and unify them will help tracking where a code is actually being used.
httpStatus.ts
Electron/src/utils
npm run test
HttpStatus codes for Frontend
Dismissed because of the use of OpenaAPI client that abstracts HTTP requests
Description
We want to replace all hardcoded HTTP Status checks on frontend for an Enum.
Context
HTTP Status codes are spread all over the frontend code and unify them will help tracking where a code is actually being used.
How to do it
httpStatus.ts
underElectron/src/utils
with the previously mentioned code.Testing
npm run test