All error messages in german and in englisch
This commit is contained in:
@@ -16,7 +16,7 @@ export const getAddress = async (params) => {
|
||||
try {
|
||||
const response = await axios(encodeURI(url));
|
||||
if (response.status !== 200) {
|
||||
return returnOnError(ret, ERR.RESPSTATUS.replace('ss', response.status, getAddress.name))
|
||||
return returnOnError(ret, 'RESPSTATUS', getAddress.name, response.status)
|
||||
}
|
||||
let akt = response.data.address
|
||||
logit(JSON.stringify(akt))
|
||||
|
||||
Reference in New Issue
Block a user