|
@@ -98,9 +98,9 @@ |
|
|
block discarded – undo |
|
98
|
98
|
protected function getDefaultHeaders() |
|
99
|
99
|
{ |
|
100
|
100
|
return [ |
|
101
|
|
- 'Authorization' => 'Bearer '. $this->accessToken, |
|
|
101
|
+ 'Authorization' => 'Bearer '.$this->accessToken, |
|
102
|
102
|
// Used the accept field is needed to fix the API version and avoid BC break from the API |
|
103
|
|
- 'Accept' => 'application/vnd.wit.'. self::API_VERSION .'+json', |
|
|
103
|
+ 'Accept' => 'application/vnd.wit.'.self::API_VERSION.'+json', |
|
104
|
104
|
'Content-Type' => 'application/json', |
|
105
|
105
|
]; |
|
106
|
106
|
} |
Please login to merge, or discard this patch.