Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Christopher Hirt <[email protected]>
  • Loading branch information
laineyhm and megahirt authored Sep 23, 2022
1 parent 1227b69 commit 5ae6114
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ export class FieldAudioController implements angular.IController {
const isUploadSuccess = response.data.result;
if (isUploadSuccess) {
this.dcFilename = response.data.data.fileName;
console.log("uploadAudio:filename " + this.dcFilename);
this.showAudioUpload = false;
this.notice.push(this.notice.SUCCESS, 'File uploaded successfully.');
} else {
Expand Down Expand Up @@ -148,7 +147,6 @@ export class FieldAudioController implements angular.IController {
if (blob) {
const date = new Date();
const fileName = 'recording_' + format(addMinutes(date, date.getTimezoneOffset()), 'yyyy_MM_dd_HH_mm_ss') + '.webm';
console.log("audioRecorderCallback:filename " + fileName);
const file = new File([blob], fileName);
this.uploadAudio(file);
}
Expand Down

0 comments on commit 5ae6114

Please sign in to comment.