Skip to content

Commit 75bc6b8

Browse files
committed
fix code retrieval
1 parent c1cc465 commit 75bc6b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Strava/API/Service/REST.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ private function getToken()
5050
*/
5151
public function getResult($response)
5252
{
53-
$status = $response->getStatusCode;
53+
$status = $response->getStatusCode();
5454
if ($status == 200) {
5555
return json_decode($response->getBody());
5656
} else {

0 commit comments

Comments
 (0)