Skip to content

fix: enforce unique WakaTime API key and handle errors#27

Merged
mrepol742 merged 1 commit intohallofcodes:masterfrom
mrepol742:master
Mar 20, 2026
Merged

fix: enforce unique WakaTime API key and handle errors#27
mrepol742 merged 1 commit intohallofcodes:masterfrom
mrepol742:master

Conversation

@mrepol742
Copy link
Member

  • Make wakatime_api_key column unique and default to NULL
  • Check supabase update error and return 400 for duplicate key (23505)
  • Return 500 for other update failures

- Make wakatime_api_key column unique and default to NULL
- Check supabase update error and return 400 for duplicate key (23505)
- Return 500 for other update failures
@mrepol742 mrepol742 merged commit 4848934 into hallofcodes:master Mar 20, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant