Minor fix

This commit is contained in:
Mikhail Trofimov 2025-06-23 17:42:11 +03:00
parent 1d582edf80
commit c48f2dbf55

View file

@ -41,7 +41,6 @@ public class MonitoringService {
this.signalService = signalService;
this.xmlUtilService = xmlUtilService;
this.config = config;
monitor();
}
public void monitor() {
@ -75,7 +74,7 @@ public class MonitoringService {
String fileName = createResponseFile(packageData, response);
if (fileName != null) {
updateSignalHits(packageData, response, fileName);
signalService.updateLastDownloadedReport(packageData.getId(), fileName);
signalService.updateLastDownloadedReport(packageData.getId(), newReport.get());
}
}
}