We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 829db8d commit f28b72dCopy full SHA for f28b72d
1 file changed
src/heartbeat.ts
@@ -294,7 +294,7 @@ export class HeartbeatManager {
294
}
295
296
297
- private async fetchDailySummary(): Promise<void> {
+ public async fetchDailySummary(): Promise<void> {
298
const apiKey = await getApiKey();
299
const baseUrl = await getBaseUrl();
300
if (!apiKey || !baseUrl) {
@@ -537,7 +537,7 @@ export class HeartbeatManager {
537
538
try {
539
const data = JSON.stringify(heartbeat);
540
- const url = new URL(`${baseUrl}/api/external/heartbeats`);
+ const url = new URL(`${baseUrl}/api/external/heartbeat`);
541
const requestOptions = {
542
hostname: url.hostname,
543
port: url.port || (url.protocol === "https:" ? 443 : 80),
0 commit comments