From 30714ab9abdb8a3edc9a93ec63d1f92e490ae968 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Witold=20Wis=CC=81niewski?= Date: Mon, 18 Nov 2024 12:14:33 +0100 Subject: [PATCH] fix --- src/Services/ConsultationService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Services/ConsultationService.php b/src/Services/ConsultationService.php index c974380..fa3282d 100644 --- a/src/Services/ConsultationService.php +++ b/src/Services/ConsultationService.php @@ -268,7 +268,7 @@ public function canGenerateJitsi(?string $executedAt, ?string $status, ?string $ $terms = $this->consultationUserTermRepository->getAllUserTermsByConsultationIdAndExecutedAt($consultation->getKey(), $executedAt); foreach ($terms as $term) { - if ($term->status === ConsultationTermStatusEnum::APPROVED) { + if ($term->executed_status === ConsultationTermStatusEnum::APPROVED) { return true; } }