Skip to content

Commit

Permalink
Merge pull request #104 from kgrab75/patch-3
Browse files Browse the repository at this point in the history
Allow param "subscriptions" in \Cronofy::baseUpsertEvent
  • Loading branch information
AdamWhittingham committed Apr 29, 2021
2 parents 5153ce5 + aa37df9 commit cbd9d56
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Cronofy.php
Original file line number Diff line number Diff line change
Expand Up @@ -558,6 +558,9 @@ private function baseUpsertEvent($postFields, $params)
if (!empty($params['conferencing'])) {
$postFields['conferencing'] = $params['conferencing'];
}
if (!empty($params['subscriptions'])) {
$postFields['subscriptions'] = $params['subscriptions'];
}

return $this->httpPost("/" . self::API_VERSION . "/calendars/" . $params['calendar_id'] . "/events", $postFields);
}
Expand Down

0 comments on commit cbd9d56

Please sign in to comment.