Skip to content

Commit

Permalink
Cleaning up unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
sxdxfan authored Aug 25, 2020
1 parent 614ea4a commit 1fe49b9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions static/speech/js/speechRecorder.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ const send_records = (blob) => {
RECOGNITION_RESULT = document.getElementById("table_body_result");

var data = new FormData();
data.append("filename", encodeURIComponent(new Date().getTime()));
data.append("token", "046ed1f5-7560-4390-9289-aecfeb7fde0d");

if (MULTIFILE) {
var blobs = $("#multiaudio")[0].files;
Expand Down Expand Up @@ -56,7 +54,7 @@ const send_records = (blob) => {
);
});
} else {
ERROR_FIELD.innerHTML = "Ошибка: " + response;
ERROR_FIELD.innerHTML = "Error: " + response;
ERROR_FIELD.style.display = "block";
}
}
Expand Down

0 comments on commit 1fe49b9

Please sign in to comment.