From e779c76a6e76408cf62d4842414e49ae61f05056 Mon Sep 17 00:00:00 2001 From: guilevi Date: Tue, 6 Apr 2021 02:56:23 +0200 Subject: [PATCH] fix --- .DS_Store | Bin 6148 -> 8196 bytes modules/.DS_Store | Bin 6148 -> 6148 bytes tts/.DS_Store | Bin 8196 -> 8196 bytes tts/watson/index.js | 6 +++--- 4 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.DS_Store b/.DS_Store index 94ae3489b920161ef4a2c7148a73ee0c64654670..752ca1c7b4dc791ea584822a45e07986d640d787 100644 GIT binary patch literal 8196 zcmeHMy^9k;6n~TCyaYWAB6=3eHiu1=d*d zdG7O8l`94m1OFuh^nB1TQ7j7_ab!maW-J6i%wRPWEazzfQ4?4eIO2#cD1@6La#JEg z48qN^UK4s{fg_IG9Eb=$h!~lO2!*iGv44%J11WPD1F$8#Il zLcQ1rE?bg1)WVA+&pUOZxiw2y_Tcip_x)GggQ`%Jw=!&w=b6I{ E0EbW}ng9R* diff --git a/modules/.DS_Store b/modules/.DS_Store index 786160700ae6a8975e7cea08783b58d2458b9d7f..db591ff990f23d97b63e4775ad9d1ea66c5c4cab 100644 GIT binary patch delta 306 zcmZoMXfc@J&&abeU^g=(&tx8!|MfZPhQZ1CxdjYhz-$7fI2jTd@_;a(p%h3aGo&&U z<>tG%B<18M0cAPvuqIwx!F$*dm&z0(RTg9bZRUnsEx@q(D~l{6nu8c`fvjXG2Rb4L t=#+ehTy*D5Trx@N9mF|U)FB*$PaW7P5SOq5?Gs>_{EzkGW_FIh`~Vn&OR4|> delta 40 wcmZoMXfc@J&&aYdU^g=(%jA4kvB^p-FE_7dWoMl1#lClAg9YPec8lkXGK8P-4Ov=$J7tDt{iAl3DC-XhCF2J#LDW{yq~NpCeI3C Rd5VFo%NCo?PNv40i~wSWQ7-@h delta 286 zcmZp1XmQveE6BvaFj-zug(FuWEBX=dVMicGN+`u8DJMUPfq?;8SYmR&ARi;c=6Ql@ zjLJYc1_m~UREA=P0w9^lke!?F0@t;1W^4Y_$&kae*lDjb>@ zql#{Utcw*vwhl>HV)9uLkac%N5Z09gEh+(8na_}iY+e7xJ$GMBRuz+Hg|IxuK-Oi8 NO=pL>lSGX(83BENQwjh8 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