Skip to content

Commit

Permalink
Change in interceptor service for Swasaa
Browse files Browse the repository at this point in the history
  • Loading branch information
NKOKKILIGADDA87 committed Sep 3, 2024
1 parent ea9fa10 commit 16fda7e
Showing 1 changed file with 11 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -137,13 +137,17 @@ export class AudioRecordingService {
}
}

// getResultStatus(formData: FormData) {
// const boundary = '----WebKitFormBoundary9nAHnlBBDdv4NIqp';
// const headers = new HttpHeaders({
// 'Content-Type': `multipart/form-data; boundary=${boundary}`,
// });
// return this.http.post(environment.getResultStatusURL, formData, {
// headers,
// });
// }

getResultStatus(formData: FormData) {
const boundary = '----WebKitFormBoundary9nAHnlBBDdv4NIqp';
const headers = new HttpHeaders({
'Content-Type': `multipart/form-data; boundary=${boundary}`,
});
return this.http.post(environment.getResultStatusURL, formData, {
headers,
});
return this.http.post(environment.getResultStatusURL, formData);
}
}

0 comments on commit 16fda7e

Please sign in to comment.