Skip to content

Commit

Permalink
chore: correct folder id for google
Browse files Browse the repository at this point in the history
  • Loading branch information
JBR90 committed Nov 5, 2024
1 parent a78d3e8 commit 59b79f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/nextjs/src/app/api/cron-jobs/expired-exports/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export async function GET(request: NextRequest) {
return new Response("Unauthorized", { status: 401 });
}

const folderId = process.env.EXPORTS_FOLDER_ID;
const folderId = process.env.GOOGLE_DRIVE_OUTPUT_FOLDER_ID;

if (!folderId) {
console.error("No folder ID provided.");
Expand Down
2 changes: 1 addition & 1 deletion apps/nextjs/vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"crons": [
{
"path": "/api/cron-jobs/expired-exports",
"schedule": "0 5 * * *"
"schedule": "0 3 * * *"
}
]
}

0 comments on commit 59b79f5

Please sign in to comment.