Skip to content

Commit 6fd3c07

Browse files
committed
Typescript fixes
1 parent 1440118 commit 6fd3c07

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/hooks/calendar.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import fetch from "node-fetch";
88
import cron from "node-cron";
99
import { config } from "../config";
1010
import he from "he";
11-
import { client } from "..";
1211

1312
// Google Calendar Props Interface
1413
interface GoogleCalendarProps {
@@ -414,7 +413,7 @@ export async function execute(client: Client) {
414413

415414
try {
416415
// Check events on a schedule
417-
cron.schedule("0 8 * * *", async () => hookLogic(client, preWebhook));
416+
cron.schedule("30 9 * * *", async () => hookLogic(client, preWebhook));
418417
cron.schedule("0 12 * * *", async () => hookLogic(client, webhook));
419418
// Catch any errors
420419
} catch (err: unknown) {

0 commit comments

Comments
 (0)