Skip to content

Commit

Permalink
Fix missing parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
insthync committed Oct 6, 2020
1 parent 67cf926 commit 7be7b88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 7be7b88

Please sign in to comment.