Skip to content

Commit

Permalink
remove debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
alanhamlett committed Oct 8, 2024
1 parent 5a75c71 commit 54e797f
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/core/WakaTimeCore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,13 +196,6 @@ class WakaTimeCore {
};
}

try {
await getApiUrl();
} catch (err: unknown) {
console.error(err);
return;
}

const apiUrl = await getApiUrl();
const url = `${apiUrl}${settings.heartbeatApiEndPoint}?api_key=${settings.apiKey}`;
const response = await fetch(url, request);
Expand Down

0 comments on commit 54e797f

Please sign in to comment.