Pi 3 сар өмнө
parent
commit
72244eaf3d

+ 1 - 1
util-sqlpage/code/update.sql

@@ -1,5 +1,5 @@
 INSERT INTO code_detail(hash, type, store, value, expiry, used)
-VALUES (:hash, :type->>'0', :store->>'0', :value, :expiry, :used)
+VALUES (:hash, :type->>0, :store->>0, :value, :expiry, :used)
 ON CONFLICT DO
 UPDATE SET
   type = excluded.type,