@@ -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() |
@@ -220,8 +220,7 @@ |
||
| 220 | 220 | |
| 221 | 221 | if ($res->getStatusCode() == "200") { |
| 222 | 222 | return $res->getBody(); |
| 223 | - } |
|
| 224 | - else { |
|
| 223 | + } else { |
|
| 225 | 224 | return $res->getBody(); |
| 226 | 225 | } |
| 227 | 226 | } |