remove debug code
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user