8000 fixed response for requests · oauth-io/sdk-php@b86023e · GitHub
[go: up one dir, main page]

Skip to content

Commit b86023e

Browse files
committed
fixed response for requests
1 parent 189364f commit b86023e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/OAuth_io/Request.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,19 +80,19 @@ private function makeMeRequest($filters) {
8080
}
8181

8282
public function get($url) {
83-
return (array) $this->makeRequest('GET', $url)->body->data;
83+
return (array) $this->makeRequest('GET', $url)->body;
8484
}
8585

8686
public function post($url, $fields) {
87-
return (array) $this->makeRequest('POST', $url, $fields)->body->data;
87+
return (array) $this->makeRequest('POST', $url, $fields)->body;
8888
}
8989

9090
public function put($url, $fields) {
91-
return (array) $this->makeRequest('PUT', $url, $fields)->body->data;
91+
return (array) $this->makeRequest('PUT', $url, $fields)->body;
9292
}
9393

9494
public function del($url) {
95-
return (array) $this->makeRequest('DELETE', $url)->body->data;
95+
return (array) $this->makeRequest('DELETE', $url)->body;
9696
}
9797

9898
public function patch($url, $fields) {

0 commit comments

Comments
 (0)
0