mirror of
https://github.com/jespanag/Laravel-Proxy-Helper.git
synced 2025-04-04 17:49:05 +00:00
Update ProxyHelper.php
This commit is contained in:
parent
b52ecc1653
commit
0b8c2936f5
@ -128,6 +128,8 @@ class ProxyHelper {
|
||||
}
|
||||
|
||||
private function call(PendingRequest $request, $method, $url, $params){
|
||||
if($this->customMethod)
|
||||
$method = $this->customMethod;
|
||||
switch ($method) {
|
||||
case 'GET':
|
||||
return $request->get($url, $params);
|
||||
|
Loading…
x
Reference in New Issue
Block a user