fix(voice): correct Express route for voice command
Route was POST /api/command (mounted at /api + /command) Fixed to POST /api/voice/command (mounted at /api + /voice/command) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
3252b323d3
commit
a4c2b93314
@@ -23,8 +23,8 @@ export function createVoiceRouter(): Router {
|
||||
// GET /api/guilds/:guildId/voice-channels
|
||||
router.get("/guilds/:guildId/voice-channels", handleGetVoiceChannels);
|
||||
|
||||
// POST /api/command — send arbitrary voice command (transmit start/stop)
|
||||
router.post("/command", handleVoiceCommand);
|
||||
// POST /api/voice/command — send arbitrary voice command (transmit start/stop)
|
||||
router.post("/voice/command", handleVoiceCommand);
|
||||
|
||||
return router;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user