removed warnings and errors in ObjektkatalogApi.js
This commit is contained in:
parent
d27e3ecf01
commit
11b0d9fb6c
1 changed files with 3 additions and 2 deletions
|
|
@ -39,6 +39,7 @@ class ObjektkatalogApi {
|
||||||
return returnedResponse
|
return returnedResponse
|
||||||
}).catch((error) => {
|
}).catch((error) => {
|
||||||
// Error while fetch.
|
// Error while fetch.
|
||||||
|
console.log(error)
|
||||||
return {status: 503};
|
return {status: 503};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
@ -119,7 +120,7 @@ class ObjektkatalogApi {
|
||||||
httpStatus: 500,
|
httpStatus: 500,
|
||||||
}
|
}
|
||||||
this.visibility = false
|
this.visibility = false
|
||||||
return [this.receivedData, this.visibility]
|
return this.receivedData
|
||||||
}
|
}
|
||||||
|
|
||||||
// Bilder
|
// Bilder
|
||||||
|
|
@ -136,7 +137,7 @@ class ObjektkatalogApi {
|
||||||
// Default date of today
|
// Default date of today
|
||||||
let today = new Date()
|
let today = new Date()
|
||||||
let todayFormat = today.getFullYear() + '-' + (String(today.getMonth() + 1).padStart(2, '0')) + '-' + String(today.getDate()).padStart(2, '0');
|
let todayFormat = today.getFullYear() + '-' + (String(today.getMonth() + 1).padStart(2, '0')) + '-' + String(today.getDate()).padStart(2, '0');
|
||||||
;
|
|
||||||
|
|
||||||
// Inventarnummer
|
// Inventarnummer
|
||||||
let inventarnummer;
|
let inventarnummer;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue