found the problem

This commit is contained in:
dmitryturcan 2024-09-02 09:43:50 +03:00
parent ee4a0bcc86
commit 44b4e0f55d
1 changed files with 3 additions and 4 deletions

View File

@ -491,8 +491,7 @@ class Booking extends EA_Controller
'appointment_id' => $appointment['id'],
'appointment_hash' => $appointment['hash'],
];
var_dump($response);
die();
json_response($response);
} catch (Throwable $e) {
json_exception($e);
@ -533,8 +532,8 @@ class Booking extends EA_Controller
$service = $this->services_model->find($appointment['id_services']);
$exclude_appointment_id = $appointment['id'] ?? null;
die();
$provider = $this->providers_model->find($post_data['id_users_provider']);
$provider = $this->providers_model->find($appointment['id_users_provider']);
$available_hours = $this->availability->get_available_hours(