Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
daVitekPL committed Nov 18, 2024
1 parent b56a5c6 commit 30714ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Services/ConsultationService.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 30714ab

Please sign in to comment.