From 631582ef4720b1f227d43d54975aae39e4e5c8a9 Mon Sep 17 00:00:00 2001 From: Oleg Makedonsky Date: Sun, 14 Mar 2021 19:41:57 +0200 Subject: [PATCH] Fix method names in README This calls give: BadMethodCallException with message 'Call to undefined method MacsiDigital\Zoom\Support\Entry::registrant()' --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1744f3f..3c406b2 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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); @@ -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);