Skip to content

Commit fe5785a

Browse files
Fix content type for language translator
1 parent c6b3a91 commit fe5785a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

language-translator/v2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ LanguageTranslatorV2.prototype.identify = function(params, callback) {
227227
defaultOptions: extend(true, {}, this._options, {
228228
headers: {
229229
'accept':'application/json',
230-
'content-type': 'plain/text'
230+
'content-type': 'text/plain'
231231
}
232232
})
233233
};

0 commit comments

Comments
 (0)