Ignore _url when searching for members
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details

This commit is contained in:
philipp lang 2024-05-26 01:17:05 +02:00
parent a9eafb44be
commit e5008d127d
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ class SearchAction
$api = Nami::login($credentials->mglnr, $credentials->password);
$results = NamiSearchAction::run($api, $request->input('page', 1), $request->except('page'), 50);
$results = NamiSearchAction::run($api, $request->input('page', 1), $request->except(['page', '_url']), 50);
$results->transform(fn ($member) => ['id' => $member->memberId, 'name' => $member->firstname . ' ' . $member->lastname]);
return $results;
}