diff --git a/.DS_Store b/.DS_Store index 94ae348..752ca1c 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/modules/.DS_Store b/modules/.DS_Store index 7861607..db591ff 100644 Binary files a/modules/.DS_Store and b/modules/.DS_Store differ diff --git a/tts/.DS_Store b/tts/.DS_Store index 1256189..6d587dd 100644 Binary files a/tts/.DS_Store and b/tts/.DS_Store differ diff --git a/tts/watson/index.js b/tts/watson/index.js index 3900e5a..8511727 100644 --- a/tts/watson/index.js +++ b/tts/watson/index.js @@ -17,10 +17,10 @@ module.exports= class extends BaseEngine { 'Content-Type': 'application/json', 'Authorization': authorization }, - body: { + body: JSON.stringify({ text: text - } + }) }; - return fetch(url); + return fetch(url,opts); } }; \ No newline at end of file