Open Lutice opened 2 months ago
In file src/Parameters/HooksCreateParameters.php in method
public function getHTTPQuery(): string { $queries = [ 'callbackURL' => $this->callbackUrl, 'meetingID' => $this->meetingId, 'getRaw' => !is_null($this->getRaw) ? ($this->getRaw ? 'true' : 'false') : $this->getRaw, ]; return $this->buildHTTPQuery($queries); }
You must add the eventId filter like this else the hook return all events, even if you set eventid filter on create parameter:
public function getHTTPQuery(): string { $queries = [ 'callbackURL' => $this->callbackUrl, 'meetingID' => $this->meetingId, 'eventID' => $this->eventId, 'getRaw' => !is_null($this->getRaw) ? ($this->getRaw ? 'true' : 'false') : $this->getRaw, ]; return $this->buildHTTPQuery($queries); }
In file src/Parameters/HooksCreateParameters.php in method
You must add the eventId filter like this else the hook return all events, even if you set eventid filter on create parameter: