Fix error caused by prettier
This commit is contained in:
parent
3fb7bc22a1
commit
f37d6124a8
|
@ -45,11 +45,9 @@ class InternalAPIClient {
|
||||||
credentials: "include",
|
credentials: "include",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// prettier-ignore
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
const response = await fetch(
|
const response = await fetch(`https://${process.env.TENANT_ID}.${this.host}${url}`, requestOptions)
|
||||||
`https://${process.env.TENANT_ID}.${this.host}${url}`,
|
|
||||||
requestOptions
|
|
||||||
)
|
|
||||||
|
|
||||||
if (response.status == 404 || response.status == 500) {
|
if (response.status == 404 || response.status == 500) {
|
||||||
console.error("Error in apiCall")
|
console.error("Error in apiCall")
|
||||||
|
|
Loading…
Reference in New Issue