File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -80,19 +80,19 @@ private function makeMeRequest($filters) {
80
80
}
81
81
82
82
public function get ($ url ) {
83
- return (array ) $ this ->makeRequest ('GET ' , $ url )->body -> data ;
83
+ return (array ) $ this ->makeRequest ('GET ' , $ url )->body ;
84
84
}
85
85
86
86
public function post ($ url , $ fields ) {
87
- return (array ) $ this ->makeRequest ('POST ' , $ url , $ fields )->body -> data ;
87
+ return (array ) $ this ->makeRequest ('POST ' , $ url , $ fields )->body ;
88
88
}
89
89
90
90
public function put ($ url , $ fields ) {
91
- return (array ) $ this ->makeRequest ('PUT ' , $ url , $ fields )->body -> data ;
91
+ return (array ) $ this ->makeRequest ('PUT ' , $ url , $ fields )->body ;
92
92
}
93
93
94
94
public function del ($ url ) {
95
- return (array ) $ this ->makeRequest ('DELETE ' , $ url )->body -> data ;
95
+ return (array ) $ this ->makeRequest ('DELETE ' , $ url )->body ;
96
96
}
97
97
98
98
public function patch ($ url , $ fields ) {
You can’t perform that action at this time.
0 commit comments