Commit a054db25 authored by Yoann HOUPERT's avatar Yoann HOUPERT
Browse files

clean code

parent 9c793ec9
Pipeline #6370 passed with stage
in 1 minute and 33 seconds
...@@ -21,7 +21,7 @@ const request = require('request'); ...@@ -21,7 +21,7 @@ const request = require('request');
const enhancement = (wavFile, speechEnhancement, enhancementlCallback) => { const enhancement = (wavFile, speechEnhancement, enhancementlCallback) => {
const url = 'http://' + speechEnhancement.host + ':' + speechEnhancement.port + '/' + speechEnhancement.api.upload; const url = 'http://' + speechEnhancement.host + ':' + speechEnhancement.port + '/' + speechEnhancement.api.upload;
const options = { const options = {
url, url,
formData: { formData: {
...@@ -33,7 +33,7 @@ const enhancement = (wavFile, speechEnhancement, enhancementlCallback) => { ...@@ -33,7 +33,7 @@ const enhancement = (wavFile, speechEnhancement, enhancementlCallback) => {
} }
}, },
msg: '-n' msg: '-n'
}, },
encoding: null encoding: null
}; };
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment