@@ -101,10 +101,10 @@ |
||
101 | 101 | "code" => $code, |
102 | 102 | "state" => $this->state |
103 | 103 | ); |
104 | - $response = HelperFactory::request($this->client, Constants::API_TOKEN, $options, 'POST'); |
|
105 | - $this->oauthResponse = new InstagramOAuth( |
|
106 | - json_decode($response->getBody()->getContents()) |
|
107 | - ); |
|
104 | + $response = HelperFactory::request($this->client, Constants::API_TOKEN, $options, 'POST'); |
|
105 | + $this->oauthResponse = new InstagramOAuth( |
|
106 | + json_decode($response->getBody()->getContents()) |
|
107 | + ); |
|
108 | 108 | return $this->oauthResponse; |
109 | 109 | } |
110 | 110 |