Skip to content

Commit f85f269

Browse files
authored
Update device-log.controller.ts
1 parent c98190b commit f85f269

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/src/modules/device/controllers/device-log.controller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export class DeviceLogController {
4848
) {
4949
setInterval(async () => {
5050

51-
await this.deviceLogService.removeAllDeviceLogsByDayBefore(this.logKeepDays)
51+
await this.deviceLogService.removeAllDeviceLogsBeforeDaysAgo(this.logKeepDays)
5252

5353
/* const usersRes = await this.userService.getAllUsers();
5454
const devicesRes = await this.deviceService.getAllDevices();

0 commit comments

Comments
 (0)