fixed wrong reports info filtering
This commit is contained in:
1 parent
bf11bb0b70
commit
2209b42766
1 file changed
+1
-1
+1
-1
@@ -190,7 +190,7 @@ public class Report extends Appliance {
|
||||
}
|
||||
|
||||
List<ReportRepository.AllReports.Report> allOpenReports = allReportsResponse.data().reports().stream()
|
||||
.filter(report -> report.status() == null)
|
||||
.filter(report -> report.status() == null && report.created() != null)
|
||||
.toList();
|
||||
|
||||
if(allOpenReports.isEmpty()) return;
|
||||
|
||||
Reference in new issue
Block a user