We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c22785 commit 501b9ceCopy full SHA for 501b9ce
speech-to-text/recognize-file.js
@@ -116,9 +116,9 @@ module.exports = function recognizeFile(options) {
116
// new behavior https://github.com/bergos/nodeify-fetch/blob/v2.2.2/lib/patchResponse.js
117
// seems like we just have to check if the body is readable
118
if (response.body.readable) {
119
- return response.body
+ return response.body;
120
} else {
121
- return new Error("file is not a readable stream")
+ return new Error("file is not a readable stream");
122
}
123
})
124
.then(function(source) {
0 commit comments