Skip to content

Commit

Permalink
follow up notifications test
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmetertem committed Sep 3, 2023
1 parent c2688eb commit c3e1efd
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Requests/StoreWebinarSetting.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ class StoreWebinarSetting extends PersistResource
protected $relatedResource = [
"global_dial_in_countries" => StoreGlobalDialInCountry::class,
"attendees_and_panelists_reminder_email_notification" => StoreEmailNotification::class,
"follow_up_absentees_email_notification" => StoreEmailNotification::class,
"follow_up_attendees_email_notification" => StoreEmailNotification::class,
"question_and_answer" => StoreQuestionAnswer::class,
];
}
2 changes: 2 additions & 0 deletions src/Requests/UpdateWebinarSetting.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ class UpdateWebinarSetting extends PersistResource
protected $relatedResource = [
"global_dial_in_countries" => StoreGlobalDialInCountry::class,
"attendees_and_panelists_reminder_email_notification" => StoreEmailNotification::class,
"follow_up_absentees_email_notification" => StoreEmailNotification::class,
"follow_up_attendees_email_notification" => StoreEmailNotification::class,
"question_and_answer" => StoreQuestionAnswer::class,
];
}
10 changes: 10 additions & 0 deletions src/WebinarSetting.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,16 @@ public function attendeesAndPanelistsReminderEmailNotification()
{
return $this->hasOne(EmailNotification::class);
}

public function followUpAbsenteesEmailNotification()
{
return $this->hasOne(EmailNotification::class);
}

public function followUpAttendeesEmailNotification()
{
return $this->hasOne(EmailNotification::class);
}

public function questionAndAnswer()
{
Expand Down

0 comments on commit c3e1efd

Please sign in to comment.