Skip to content

Commit

Permalink
chore(synchronizer): remove 'console.log' leftovers
Browse files Browse the repository at this point in the history
  • Loading branch information
f1ames committed Aug 11, 2023
1 parent e773ebd commit 144e48a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/synchronizer/src/handlers/apiHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,6 @@ export class ApiHandler {
private async queryApi<OUT>(query: string, token: string, variables = {}): Promise<OUT | undefined> {
const apiEndpointUrl = normalizeUrl(`${this.apiUrl}/graphql`);

console.log('apiEndpointUrl', apiEndpointUrl);

try {
const response = await fetch(apiEndpointUrl, {
method: 'POST',
Expand All @@ -127,8 +125,6 @@ export class ApiHandler {
}),
});

console.log('response', response.status, response.statusText);

if (!response.ok) {
console.error(
`Connection error. Cannot fetch data from ${apiEndpointUrl}. Error '${response.statusText}' (${response.status}).`
Expand Down

0 comments on commit 144e48a

Please sign in to comment.