Skip to content

Commit c08b8cd

Browse files
committed
Update for requestFactory
1 parent cd2ac92 commit c08b8cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -988,7 +988,7 @@ private function requestFactory($targetUri, $method, $data = array(), $decode =
988988
http_response_code(500);
989989
error_log("Request failed: " . $response);
990990
} else {
991-
return !$json_decode ? $response : json_decode($response, $this->responseDecodeAsArray);
991+
return !$decode ? $response : json_decode($response, $this->responseDecodeAsArray);
992992
}
993993
}
994994
}

0 commit comments

Comments
 (0)