Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Retrieve meeting to add registrants issue #84

Closed
salahy opened this issue Feb 9, 2021 · 2 comments
Closed

Retrieve meeting to add registrants issue #84

salahy opened this issue Feb 9, 2021 · 2 comments
Labels
more info required Need more info to look into issue

Comments

@salahy
Copy link

salahy commented Feb 9, 2021

Hello,
I am trying to retrieve meeting with id and add registrants to it but I get null when I try this

  $meeting = \MacsiDigital\Zoom\Contracts\Zoom::meeting();
  $meeting = $meeting->find($zoom_id); // THIS RETURN NULL
  $registrant = Zoom::registrant()->make([
      "email"=>$email,
      "first_name"=>$name,
      "auto_approve"=>true
  ]);
  $meeting->registrants()->save($registrant);

and even when I try this code alone I get

  $registrant = Zoom::registrant()->make([
      "email"=>$email,
      "first_name"=>$name,
      "auto_approve"=>true
  ]);

Call to undefined method MacsiDigital\Zoom\Support\Entry::registrant()

@colinhall17
Copy link
Member

HI @salahy

Can you let me know which version you are working with

@colinhall17 colinhall17 added the more info required Need more info to look into issue label Feb 15, 2021
@salahy
Copy link
Author

salahy commented Mar 15, 2021

I was using column type integer to store the meeting, so it was truncated, all good now

@salahy salahy closed this as completed Mar 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
more info required Need more info to look into issue
Projects
None yet
Development

No branches or pull requests

2 participants