diff options
| author | Greg Roach <greg@subaqua.co.uk> | 2022-04-05 15:22:46 +0100 |
|---|---|---|
| committer | Greg Roach <greg@subaqua.co.uk> | 2022-04-05 15:22:46 +0100 |
| commit | 6c21f8bee87860f3207f654266c478a05acfbcba (patch) | |
| tree | af5c76df959f0a95215966b7b75e67fe5b2cdae0 /app/Http/RequestHandlers/SiteLogsDownload.php | |
| parent | 4c718a928f635a290c78ebb9241c4d5d23861b02 (diff) | |
| download | webtrees-6c21f8bee87860f3207f654266c478a05acfbcba.tar.gz webtrees-6c21f8bee87860f3207f654266c478a05acfbcba.tar.bz2 webtrees-6c21f8bee87860f3207f654266c478a05acfbcba.zip | |
Add tests and validation to site-logs request-handlers
Diffstat (limited to 'app/Http/RequestHandlers/SiteLogsDownload.php')
| -rw-r--r-- | app/Http/RequestHandlers/SiteLogsDownload.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Http/RequestHandlers/SiteLogsDownload.php b/app/Http/RequestHandlers/SiteLogsDownload.php index 23e5dc5888..690cc28b00 100644 --- a/app/Http/RequestHandlers/SiteLogsDownload.php +++ b/app/Http/RequestHandlers/SiteLogsDownload.php @@ -50,7 +50,7 @@ class SiteLogsDownload implements RequestHandlerInterface */ public function handle(ServerRequestInterface $request): ResponseInterface { - $content = $this->site_logs_service->logsQuery($request->getQueryParams()) + $content = $this->site_logs_service->logsQuery($request) ->orderBy('log_id') ->get() ->map(static function (object $row): string { |
