Skip to content

Commit

Permalink
Merge pull request #93 from satoved/master
Browse files Browse the repository at this point in the history
Fix README registrant methods
  • Loading branch information
colinhall17 authored Mar 18, 2021
2 parents b91f5bd + 25b2b9b commit 3f450e5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,7 @@ This is the main access for most models in Zoom.

// or

$registrant = Zoom::registrant()->make([...]);
$registrant = Zoom::meetingRegistrant()->make([...]);
$meeting->registrants()->save($registrant);

// To retrieve occurrences, Zoom requires both meeting and occurrence ID's, so we have to
Expand Down Expand Up @@ -757,7 +757,7 @@ This is the main access for most models in Zoom.

// Once we have the webinar we can update registrants / panelists

$registrant = Zoom::registrant()->create([...]);
$registrant = Zoom::webinarRegistrant()->create([...]);

$webinar->registrants()->save($registrant);

Expand Down Expand Up @@ -795,7 +795,7 @@ We are showing info for meeting, you will need to switch out meeting to webinar

// Once we have the recurrence we can update registrants / panelists to that occurrence instance

$registrant = Zoom::registrant()->create([...]);
$registrant = Zoom::meetingRegistrant()->create([...]);

$occurrence->registrants()->save($registrant);

Expand Down

0 comments on commit 3f450e5

Please sign in to comment.