From 7038b43a0561c6b1fbce2be3b1e7a72b19a608a5 Mon Sep 17 00:00:00 2001 From: Luna Date: Wed, 13 Nov 2024 22:37:55 -0600 Subject: [PATCH] Update form-data obj name --- apps/game/server/audio/audio.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/game/server/audio/audio.service.ts b/apps/game/server/audio/audio.service.ts index 2f1e64232..b4965db38 100644 --- a/apps/game/server/audio/audio.service.ts +++ b/apps/game/server/audio/audio.service.ts @@ -32,7 +32,7 @@ class _AudioService { try { const form_data = new FormData(); const blob = fileFromSync(filePath, 'audio/ogg'); - form_data.append('recording', blob); + form_data.append('file', blob); const res = await fetch(config.voiceMessage.url, { method: 'POST',