Skip to content

Commit

Permalink
Merge pull request #1185 from Sharkiiie/master
Browse files Browse the repository at this point in the history
fix(AudioService): Update form-data key to 'file'
  • Loading branch information
itschip authored Nov 14, 2024
2 parents 0589a85 + 7038b43 commit bbb5327
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/game/server/audio/audio.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit bbb5327

Please sign in to comment.