Compare commits
2 commits
096314c14c
...
4eef09b32f
Author | SHA1 | Date | |
---|---|---|---|
4eef09b32f | |||
ea548112db |
1 changed files with 3 additions and 3 deletions
|
@ -31,9 +31,9 @@ module.exports = async function () {
|
|||
"device"."radius_reach",
|
||||
"device"."follow_location"
|
||||
FROM
|
||||
" device "
|
||||
"device"
|
||||
WHERE
|
||||
" device "." id " = " gajus - eslint - plugin - sql "
|
||||
"device"."id" = ${deviceId}
|
||||
`
|
||||
|
||||
if (!device) {
|
||||
|
@ -107,7 +107,7 @@ module.exports = async function () {
|
|||
}
|
||||
await sql`
|
||||
UPDATE
|
||||
"alerting"
|
||||
"alert"
|
||||
SET
|
||||
"location" = ${deviceSqlGeopoint}
|
||||
WHERE
|
||||
|
|
Loading…
Add table
Reference in a new issue