Skip to content

Commit a4fcd9a

Browse files
committed
fix method
1 parent 7b63bce commit a4fcd9a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/Ci4RequestBridge.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ private function getBody(){
4848
}
4949

5050
private function setParams(){
51+
\CodeIgniter\Config\Services::request()->setMethod($this->_rRequest->getMethod());
5152
\CodeIgniter\Config\Services::request()->setGlobal("get",$this->_rRequest->getQueryParams());
5253
if($this->_rRequest->getMethod() == "POST"){
5354
\CodeIgniter\Config\Services::request()->setGlobal("post",$this->_rRequest->getParsedBody());

0 commit comments

Comments
 (0)