From 7be7b887958314d4597b5c3ad9d8c6bebbcc6cc2 Mon Sep 17 00:00:00 2001 From: Insthync Date: Tue, 6 Oct 2020 10:18:48 +0700 Subject: [PATCH] Fix missing parameters --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index 4fdebe0..adf3236 100644 --- a/index.php +++ b/index.php @@ -172,7 +172,7 @@ $postBody = json_decode(urldecode($f3->get('BODY')), true); RefillStamina($postBody['staminaDataId']); }); -$f3->route('GET /refill-stamina-info', function($f3, $params) { +$f3->route('GET /refill-stamina-info/@staminaDataId', function($f3, $params) { GetRefillStaminaInfo($params['staminaDataId']); }); $f3->route('GET /available-stages', function($f3, $params) {