remove debug code

This commit is contained in:
Alan Hamlett
2024-10-08 22:51:24 +02:00
parent 5a75c71328
commit 54e797f601

View File

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