deepgram-token routes β return master key directly
- The rotated Deepgram API key does not have admin/member scope required
- to create ephemeral sub-keys via POST /v1/projects/{id}/keys. Both
- admin and guest token routes were 500-ing on the getProjectId() call.
- Fix: return DEEPGRAM_API_KEY directly from both routes. Both endpoints
- are already protected by auth (admin session / valid invite token), so
- returning the master key is safe β only authenticated users ever see it.
- Removes the unnecessary round-trip to Deepgram key-creation API.
9bbdfc8View on GitHub β