fix: typo
This commit is contained in:
parent
c110825140
commit
92f539fa14
@ -33,7 +33,7 @@ class Router
|
|||||||
if (isset($_POST)) {
|
if (isset($_POST)) {
|
||||||
$this->request["body"] = json_decode(file_get_contents('php://input'), true);
|
$this->request["body"] = json_decode(file_get_contents('php://input'), true);
|
||||||
}
|
}
|
||||||
if (isset($_POST)) {
|
if (isset($_GET)) {
|
||||||
$this->request["params"] = $_GET;
|
$this->request["params"] = $_GET;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user