Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add expired exports cron job to public routes #358

Merged
merged 1 commit into from
Nov 11, 2024

Conversation

JBR90
Copy link
Contributor

@JBR90 JBR90 commented Nov 11, 2024

Description

  • Cron job was being redirected to clerk login page, this PR adds it to the public route

Issue(s)

Fixes #

How to test

curl -H "Authorization: Bearer [CRON_SECRET]" http://localhost:2525/api/cron-jobs/expired-exports

You should see an update on the cron job not -
/sign-in?redirect_url=http%3A%2F%2Flocalhost%3A2525%2Fapi%2Fcron-jobs%2Fexpired-exports%

Screenshots

Checklist

  • Manually tested across browsers / devices
  • Considered impact on accessibility
  • Does this PR update a package with a breaking change

Copy link

vercel bot commented Nov 11, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
oak-ai-lesson-assistant ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 11, 2024 10:48am

@JBR90 JBR90 requested a review from a team November 11, 2024 10:46
@JBR90 JBR90 marked this pull request as ready for review November 11, 2024 10:46
Copy link

Copy link

Playwright test results

passed  14 passed
skipped  1 skipped

Details

report  Open report ↗︎
stats  15 tests across 14 suites
duration  1 minute, 58 seconds
commit  7e52126

Skipped tests

No persona › tests/auth.test.ts › authenticate through Clerk UI

@JBR90 JBR90 changed the title chore: add cron job to public routes chore: add expired exports cron job to public routes Nov 11, 2024
@JBR90 JBR90 merged commit 4c346d0 into main Nov 11, 2024
20 checks passed
@JBR90 JBR90 deleted the chore-add-cron-job-to-public-route branch November 11, 2024 14:12
@oak-machine-user
Copy link
Collaborator

🎉 This PR is included in version 1.14.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants