diff options
author | Anton Tananaev <anton@traccar.org> | 2022-06-04 11:03:59 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-06-04 11:03:59 -0700 |
commit | b6ec84dbb4e1e2e212b0d6195920407a43919ab5 (patch) | |
tree | e60d7510d0744191ad3b899041807c1b8a0ea881 /src/main/java/org/traccar | |
parent | e41c234ae93c6cc1b43f1e78af8566f288e0c10e (diff) | |
download | trackermap-server-b6ec84dbb4e1e2e212b0d6195920407a43919ab5.tar.gz trackermap-server-b6ec84dbb4e1e2e212b0d6195920407a43919ab5.tar.bz2 trackermap-server-b6ec84dbb4e1e2e212b0d6195920407a43919ab5.zip |
Fix compilation issue
Diffstat (limited to 'src/main/java/org/traccar')
-rw-r--r-- | src/main/java/org/traccar/api/resource/ReportResource.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/org/traccar/api/resource/ReportResource.java b/src/main/java/org/traccar/api/resource/ReportResource.java index 38eb52685..96b32a4f0 100644 --- a/src/main/java/org/traccar/api/resource/ReportResource.java +++ b/src/main/java/org/traccar/api/resource/ReportResource.java @@ -143,7 +143,7 @@ public class ReportResource extends BaseResource { @QueryParam("from") Date from, @QueryParam("to") Date to) throws StorageException { permissionsService.checkRestriction(getUserId(), UserRestrictions::getDisableReports); LogAction.logReport(getUserId(), "events", from, to, deviceIds, groupIds); - return eventsReportProvider.getObjects(storage, getUserId(), deviceIds, groupIds, types, from, to); + return eventsReportProvider.getObjects(getUserId(), deviceIds, groupIds, types, from, to); } @Path("events") @@ -157,7 +157,7 @@ public class ReportResource extends BaseResource { permissionsService.checkRestriction(getUserId(), UserRestrictions::getDisableReports); return executeReport(getUserId(), mail, stream -> { LogAction.logReport(getUserId(), "events", from, to, deviceIds, groupIds); - eventsReportProvider.getExcel(stream, storage, getUserId(), deviceIds, groupIds, types, from, to); + eventsReportProvider.getExcel(stream, getUserId(), deviceIds, groupIds, types, from, to); }); } |