From 248fb696121285656b13da3833fd85e0513ecd84 Mon Sep 17 00:00:00 2001 From: Hubert Krzysztofiak Date: Thu, 24 Mar 2022 18:03:06 +0100 Subject: [PATCH] Repair bug in events --- src/Consultations/CommonConsultationVariables.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Consultations/CommonConsultationVariables.php b/src/Consultations/CommonConsultationVariables.php index c9c6345..65c25b0 100644 --- a/src/Consultations/CommonConsultationVariables.php +++ b/src/Consultations/CommonConsultationVariables.php @@ -2,7 +2,7 @@ namespace EscolaLms\TemplatesEmail\Consultations; -use EscolaLms\Consultations\Models\ConsultationTerm; +use EscolaLms\Consultations\Models\ConsultationUserPivot; use EscolaLms\Core\Models\User; use EscolaLms\Templates\Events\EventWrapper; use EscolaLms\TemplatesEmail\Core\EmailVariables; @@ -55,6 +55,6 @@ public static function requiredVariablesInSection(string $sectionKey): array public static function assignableClass(): ?string { - return ConsultationTerm::class; + return ConsultationUserPivot::class; } }