Skip to content

Commit

Permalink
Merge pull request #11 from MacPaw/develop
Browse files Browse the repository at this point in the history
Release add PUT
  • Loading branch information
Yozhef authored May 23, 2023
2 parents 9c6faeb + eb14cb0 commit 5387a61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Context/ApiContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ public function iSendRequestToRoute(

if (Request::METHOD_GET === $method) {
$queryString = http_build_query($this->requestParams);
} elseif (Request::METHOD_POST === $method || Request::METHOD_PATCH === $method) {
} elseif (Request::METHOD_POST === $method || Request::METHOD_PATCH === $method || Request::METHOD_PUT === $method) {
$postFields = $this->requestParams;
}

Expand Down

0 comments on commit 5387a61

Please sign in to comment.