From a4c2b9331480f6cfd3d9fb67a9eadcfa0b08a99a Mon Sep 17 00:00:00 2001 From: MythEclipse Date: Tue, 9 Jun 2026 00:13:00 +0700 Subject: [PATCH] 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 --- services/backend/src/modules/voice/voice.routes.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/backend/src/modules/voice/voice.routes.ts b/services/backend/src/modules/voice/voice.routes.ts index 640bfb9..65d46b0 100644 --- a/services/backend/src/modules/voice/voice.routes.ts +++ b/services/backend/src/modules/voice/voice.routes.ts @@ -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; }