Skip to content

Commit

Permalink
Bumps globaloffensive from 3.1.0 to 3.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
wangxingzhen committed Oct 11, 2024
1 parent af45e6d commit 85c5a93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/postgres.js
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ class Postgres {
for (let c = 0; c < itemCount; c++) {
values.push(`($${i++}, $${i++}, $${i++}, $${i++}, $${i++}, $${i++}, $${i++}, $${i++}, $${i++}, $${i++}, $${i++}::jsonb, now(), $${i++}, NULL, $${i++}, $${i++}::jsonb)`);
}
``

return `INSERT INTO items (ms, a, d, paintseed, paintwear, defindex, paintindex, stattrak, souvenir, props, stickers, updated, rarity, floatid, price, keychains)
VALUES ${values.join(', ')} ON CONFLICT(defindex, paintindex, paintwear, paintseed) DO UPDATE SET ms=excluded.ms, a=excluded.a, d=excluded.d, stickers=excluded.stickers, updated=now(), keychains=excluded.keychains`;
}
Expand Down

0 comments on commit 85c5a93

Please sign in to comment.