@@ -259,7 +259,7 @@ |
||
259 | 259 | public function getThread($url) |
260 | 260 | { |
261 | 261 | $client = new Client(); |
262 | - $res = $client->request('GET', $this->getDir() . '/website/'.$this->getWebsiteId().'/Threadload', |
|
262 | + $res = $client->request('GET', $this->getDir() . '/website/' . $this->getWebsiteId() . '/Threadload', |
|
263 | 263 | [ |
264 | 264 | 'headers' => [ |
265 | 265 | 'Authorization' => 'JWT ' . $this->getToken() |
@@ -217,8 +217,7 @@ |
||
217 | 217 | |
218 | 218 | if ($res->getStatusCode() == "200") { |
219 | 219 | echo $res->getBody(); |
220 | - } |
|
221 | - else { |
|
220 | + } else { |
|
222 | 221 | echo $res->getBody(); |
223 | 222 | } |
224 | 223 | } |