Skip to content

Commit

Permalink
Adjust request
Browse files Browse the repository at this point in the history
  • Loading branch information
ceresaconsultoria committed Oct 20, 2022
1 parent be67190 commit 4c4701d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Requests.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
class Requests {

public function request($url, $headers = [], $data = [], $type = \Requests::GET, $options = []){
return \WpOrg\request($url, $headers, $data, $type, $options);
return \WpOrg\Requests\Requests::request($url, $headers, $data, $type, $options);
}

public function post($url, $headers = [], $data = [], $options = []) {
return \WpOrg\post($url, $headers, $data, $options);
return \WpOrg\Requests\Requests::post($url, $headers, $data, $options);
}

}

0 comments on commit 4c4701d

Please sign in to comment.