From 094b1bcd8c39bb52fa4e5bd1e933c467a1306d95 Mon Sep 17 00:00:00 2001 From: Progi1984 Date: Thu, 1 Feb 2024 09:14:32 +0100 Subject: [PATCH] Fixed download links in Report endpoint --- src/Service/ReportLister.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Service/ReportLister.php b/src/Service/ReportLister.php index 2fc5cd9d..f5737dab 100644 --- a/src/Service/ReportLister.php +++ b/src/Service/ReportLister.php @@ -17,7 +17,7 @@ public function __construct(string $nightlyReportPath) public function get(): array { $return = @file_get_contents($this->nightlyReportPath); - if (!$return || !is_dir($this->nightlyReportPath)) { + if (!$return) { return []; }