fix: handle Supabase admin client absence in wakatime API route(closes #2233)#2261
Conversation
|
@shauryavardhan1307 is attempting to deploy a commit to the PRIYANSHU DOSHI's projects Team on Vercel. A member of the Team first needs to authorize it. |
GSSoC Label Checklist 🏷️@Priyanshu-byte-coder — please apply the appropriate labels before merging: Difficulty (pick one):
Quality (optional):
Validation (required to score):
|
a12dba1 to
ea032c0
Compare
|
|
The |
|
My apologies! I opened the issue and branch before PR #1982 was merged into I will close this PR and the associated issue now. Thank you for pointing that out! |
Title
fix: handle Supabase admin client absence in wakatime API routePR Body
Expected result:
The endpoint successfully falls back to a 200 response indicating Supabase is not configured instead of throwing a database connection crash.
Screenshots / Recordings
N/A
Checklist
console.log, debug code, or commented-out blocksnpm run lintpasses locallynpm run type-check)Accessibility (UI changes only)
Skip section (no UI impact).
Additional Context
None.