File tree Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -96,11 +96,7 @@ ToneAnalyzer.prototype.synonym = function(params, callback) {
9696 qs : params ,
9797 json : true
9898 } ,
99- defaultOptions : extend ( this . _options , {
100- headers : {
101- 'accept' :'application/json'
102- }
103- } )
99+ defaultOptions : extend ( this . _options , { } )
104100 } ;
105101
106102 return requestFactory ( parameters , callback ) ;
@@ -121,13 +117,10 @@ ToneAnalyzer.prototype.scorecards = function(params, callback) {
121117 var parameters = {
122118 options : {
123119 url : '/v2/scorecards' ,
124- method : 'GET'
120+ method : 'GET' ,
121+ json : true
125122 } ,
126- defaultOptions : extend ( this . _options , {
127- headers : {
128- 'accept' :'application/json'
129- }
130- } )
123+ defaultOptions : extend ( this . _options , { } )
131124 } ;
132125
133126 return requestFactory ( parameters , callback ) ;
You can’t perform that action at this time.
0 commit comments