mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 01:18:37 +00:00
Attempt to fix tests
This commit is contained in:
parent
48bf8001ae
commit
9d04c61cbe
1 changed files with 5 additions and 3 deletions
|
|
@ -47,9 +47,11 @@ class Request extends UtopiaRequest
|
|||
$params += $method->getParameters();
|
||||
}
|
||||
|
||||
$parameters = array_filter($parameters, function ($key) use ($params) {
|
||||
return array_key_exists($key, $params);
|
||||
}, \ARRAY_FILTER_USE_KEY);
|
||||
if (!empty($params)) {
|
||||
$parameters = array_filter($parameters, function ($key) use ($params) {
|
||||
return array_key_exists($key, $params);
|
||||
}, \ARRAY_FILTER_USE_KEY);
|
||||
}
|
||||
|
||||
foreach ($this->getFilters() as $filter) {
|
||||
$parameters = $filter->parse($parameters, $endpointIdentifier);
|
||||
|
|
|
|||
Loading…
Reference in a new issue