refactoring some code and fixing typos

This commit is contained in:
Elias Papanikitas
2024-03-05 18:04:52 +01:00
parent 4827f1bb9b
commit 8fa52c7c55
4 changed files with 255 additions and 185 deletions

View File

@@ -1,17 +1,17 @@
export const APIERRORCODES = {
STATUS200:{
export const API_STATUS_CODES = {
STATUS_200:{
STATUS: "OK",
CODE: 200
},
STATUS402:{
STATUS_402:{
STATUS: "no data has been found, check if kbo numer is correct or organisation has OVO number. Organisation without OVO number are not in wegwijs",
CODE: 402
},
STATUS403:{
STATUS_403:{
STATUS: "no kbo number found in OP",
CODE: 403
},
STATUS500:{
STATUS_500:{
STATUS: '',
CODE: 500
}