From df05e0421c20298f825ddf254358bef8e3bd71ba Mon Sep 17 00:00:00 2001 From: iIronside Date: Sat, 4 Nov 2023 18:30:01 +0300 Subject: [PATCH] fix method name in ReportsController --- frontend/modules/api/controllers/ReportsController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/modules/api/controllers/ReportsController.php b/frontend/modules/api/controllers/ReportsController.php index 2baddf0..3167efd 100755 --- a/frontend/modules/api/controllers/ReportsController.php +++ b/frontend/modules/api/controllers/ReportsController.php @@ -455,7 +455,7 @@ class ReportsController extends ApiController * @return array|array[]|object|object[]|string[] * @throws BadRequestHttpException */ - public function actionCheckReportsByDate($fromDate, $toDate, $user_card_id) + public function actionReportsByDate($fromDate, $toDate, $user_card_id) { if (!$this->checkDate($fromDate) || !$this->checkDate($toDate)) { throw new BadRequestHttpException('Wrong date format');