fix: typo

This commit is contained in:
Johannes Kantz 2023-01-21 14:10:02 +01:00
parent c110825140
commit 92f539fa14

View File

@ -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;
} }