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

Recurring Weekly Meetings, weekly_days are supposed to be string, not integer. #60

Closed
icaroscherma opened this issue Sep 4, 2020 · 1 comment

Comments

@icaroscherma
Copy link

Following Zoom Meetings documentation, if you're scheduling a meeting with recurrence type 2 (weekly), the parameter weekly_days should be string to support multiple days as comma separated value (i.e. 2,3,5,7), but if we set it so we get an error saying that it must be integer.

For instance, below:

<?php
$z = Zoom::user()->find('myemail@mydomain.com');
$zoomMeeting = $z->meetings()->make([
    'topic' => 'Recurring meeting weekly on tuesday,thursday and saturday',
    'type' => 8, // Recurring with specific time
    'start_time' => '2020-09-04T15:45:00',
    'duration' => 15,
    'timezone' => 'America/Vancouver',
]);
$zoomMeeting->recurrence()->make([
    'type' => 2, // Weekly
    'repeat_interval' => 1, // Every 1 week
    'weekly_days' => '3,5,7', // Tuesday, Thursday, Saturday
    'end_date_time' => '2020-09-11T16:00:00',
]);
$zoomMeeting->save();

The bug is not version specific but I'm using the latest Laravel 7.x with PHP 7.4.

@colinhall17
Copy link
Member

colinhall17 commented Sep 7, 2020

Hi @icaroscherma ,

Thanks for pointing out the bug, now changed so weekly_days is a string

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants