Skip to content

Commit 52896e1

Browse files
author
Miriad
committed
Revert "feat: redesign YouTube stats tracking with Supabase pipeline"
This reverts commit 452e004.
1 parent 452e004 commit 52896e1

File tree

9 files changed

+415
-772
lines changed

9 files changed

+415
-772
lines changed

app/api/cron/route.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,7 @@ export function GET(request: NextRequest) {
1212
});
1313
}
1414
try {
15-
// Forward the action param if present (discover, fetch, sync)
16-
const action = request.nextUrl.searchParams.get("action");
17-
const params = action ? `?action=${action}` : "";
18-
const url = `${publicURL()}/api/youtube/views${params}`;
15+
const url = `${publicURL()}/api/youtube/views`;
1916
console.log("[CRON] Triggering YouTube views update:", url);
2017
fetch(url, {
2118
method: "POST",

app/api/youtube/cleanup/route.tsx

Lines changed: 0 additions & 70 deletions
This file was deleted.

0 commit comments

Comments
 (0)