fix: on send heartbeat omit credentials, only use the api key store (#176)
This commit is contained in:
committed by
GitHub
parent
c735e2dafa
commit
ae22ab5a9d
@@ -337,6 +337,7 @@ class WakaTimeCore {
|
||||
try {
|
||||
const response = await fetch(`${config.heartbeatApiUrl}?api_key=${apiKey}`, {
|
||||
body: JSON.stringify(payload),
|
||||
credentials: 'omit',
|
||||
method: 'POST',
|
||||
});
|
||||
await response.json();
|
||||
|
||||
Reference in New Issue
Block a user