Skip to content

Commit

Permalink
Update form-data obj name
Browse files Browse the repository at this point in the history
  • Loading branch information
Sharkiiie authored Nov 14, 2024
1 parent 0589a85 commit 7038b43
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 7038b43

Please sign in to comment.