Fix error caused by prettier

This commit is contained in:
Pedro Silva 2023-01-18 10:57:36 +00:00
parent 3fb7bc22a1
commit f37d6124a8
1 changed files with 2 additions and 4 deletions

View File

@ -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")