Skip to content

Commit

Permalink
sending phoneNumber in asr API
Browse files Browse the repository at this point in the history
  • Loading branch information
prtkjakhar committed Sep 27, 2023
1 parent 6e99b75 commit a18507c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ const RenderVoiceRecorder = ({ setInputMsg }) => {

// Append the WAV file to the FormData object
formData.append('file', blob, 'audio.wav');
formData.append('phoneNumber', localStorage.getItem('phoneNumber'));

// Send the WAV data to the API
const resp = await fetch(apiEndpoint + '/aitools/asr', {
Expand Down

0 comments on commit a18507c

Please sign in to comment.