From 18a1ab2da5bd04e2baf17fa16f5997b041878d5d Mon Sep 17 00:00:00 2001 From: Patrick Baxter Date: Wed, 19 Feb 2025 12:12:32 +1300 Subject: [PATCH] lint fix --- api/api/V1/Device.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/api/V1/Device.ts b/api/api/V1/Device.ts index d70db9f7..9cbef3fe 100755 --- a/api/api/V1/Device.ts +++ b/api/api/V1/Device.ts @@ -948,7 +948,7 @@ export default function (app: Application, baseUrl: string) { new Date(); const device = response.locals.device as Device; - let deviceHistoryEntry = await this.findOne({ + const deviceHistoryEntry = await this.findOne({ where: { DeviceId: device.id, GroupId: device.GroupId,