Explorar o código

oprava sqlite query

marek hai 1 mes
pai
achega
d55a631571
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      utils/meteostanice.js

+ 1 - 1
utils/meteostanice.js

@@ -118,7 +118,7 @@ export default class Meteostanice {
     static editOwnerOnOwned(owner, newOwner) {
         meteostaniceDB.prepare(`
             update list
-            owner = ?
+            set owner = ?
             where owner = ?;
         `).run(newOwner, owner)
     }