From 92f539fa146cf536cc63e7e24db14c2dc35f1fd0 Mon Sep 17 00:00:00 2001 From: Johannes Kantz <67144859+JohannesKantz@users.noreply.github.com> Date: Sat, 21 Jan 2023 14:10:02 +0100 Subject: [PATCH] fix: typo --- Router/Router.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Router/Router.php b/Router/Router.php index edf7c2f..69baccd 100644 --- a/Router/Router.php +++ b/Router/Router.php @@ -33,7 +33,7 @@ class Router if (isset($_POST)) { $this->request["body"] = json_decode(file_get_contents('php://input'), true); } - if (isset($_POST)) { + if (isset($_GET)) { $this->request["params"] = $_GET; }