fix method name in ReportsController

This commit is contained in:
iIronside 2023-11-04 18:30:01 +03:00
parent ae44789200
commit df05e0421c

View File

@ -455,7 +455,7 @@ class ReportsController extends ApiController
* @return array|array[]|object|object[]|string[] * @return array|array[]|object|object[]|string[]
* @throws BadRequestHttpException * @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)) { if (!$this->checkDate($fromDate) || !$this->checkDate($toDate)) {
throw new BadRequestHttpException('Wrong date format'); throw new BadRequestHttpException('Wrong date format');