|
@@ -20,8 +20,8 @@ class EventRepository extends BaseApiRepository
|
|
|
* @throws ApiRequestException
|
|
* @throws ApiRequestException
|
|
|
*/
|
|
*/
|
|
|
public function findById(int $id) {
|
|
public function findById(int $id) {
|
|
|
- $params = [];
|
|
|
|
|
- return $this->getApiFirstRecord($this::URI . '/' . $id, $params);
|
|
|
|
|
|
|
+ $params = ["filter[where][id]" => $id];
|
|
|
|
|
+ return $this->getApiFirstRecord($this::URI, $params);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|