Skip to content

Commit 9d8c45e

Browse files
committed
SkinDB: Fix invalid SQL
1 parent dbd8249 commit 9d8c45e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

db-utils/DB_SkinDB.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ module.exports = {
113113
}
114114

115115
if (res.rowCount <= 0) {
116-
return con.query(`INSERT INTO "QueuingAgents" ("Agent","Internal") VALUES ($1,$2) ON CONFLICT ("Agent") DO NOTHING RETURNING "ID";`,
116+
return con.query(`INSERT INTO "QueuingAgents" ("Agent","Internal") VALUES ($1,$2) ON CONFLICT ("Agent","Internal") DO NOTHING RETURNING "ID";`,
117117
[userAgent, internal], (err, res) => {
118118
done();
119119

0 commit comments

Comments
 (0)