1
0
Fork 0
mirror of synced 2024-07-03 21:40:55 +12:00

Fix error caused by prettier

This commit is contained in:
Pedro Silva 2023-01-18 10:57:36 +00:00
parent 3fb7bc22a1
commit f37d6124a8

View file

@ -45,11 +45,9 @@ class InternalAPIClient {
credentials: "include",
}
// prettier-ignore
// @ts-ignore
const response = await fetch(
`https://${process.env.TENANT_ID}.${this.host}${url}`,
requestOptions
)
const response = await fetch(`https://${process.env.TENANT_ID}.${this.host}${url}`, requestOptions)
if (response.status == 404 || response.status == 500) {
console.error("Error in apiCall")