Compare commits

...

2 commits

Author SHA1 Message Date
4eef09b32f fix: typo 2025-05-30 18:35:10 +02:00
ea548112db fix: typo 2025-05-30 18:34:02 +02:00

View file

@ -31,9 +31,9 @@ module.exports = async function () {
"device"."radius_reach", "device"."radius_reach",
"device"."follow_location" "device"."follow_location"
FROM FROM
" device " "device"
WHERE WHERE
" device "." id " = " gajus - eslint - plugin - sql " "device"."id" = ${deviceId}
` `
if (!device) { if (!device) {
@ -107,7 +107,7 @@ module.exports = async function () {
} }
await sql` await sql`
UPDATE UPDATE
"alerting" "alert"
SET SET
"location" = ${deviceSqlGeopoint} "location" = ${deviceSqlGeopoint}
WHERE WHERE