We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 62a2cff + c879b5b commit 3db0861Copy full SHA for 3db0861
lib/postgres.js
@@ -302,7 +302,6 @@ class Postgres {
302
303
async _getItemData(links) {
304
const aValues = links.map(e => utils.unsigned64ToSigned(e.getParams().a));
305
- const dValues = links.map(e => utils.unsigned64ToSigned(e.getParams().d));
306
307
const result = await this.pool.query(`
308
SELECT *,
@@ -327,7 +326,7 @@ class Postgres {
327
326
ORDER BY J.paintwear DESC
328
LIMIT 1000) as b) AS high_rank
329
FROM items S
330
- WHERE a = ANY($1::bigint[]) AND d = ANY($2::bigint[])`, [aValues, dValues]);
+ WHERE a= ANY($1::bigint[])`, [aValues]);
331
332
return result.rows.map((item) => {
333
delete item.updated;
0 commit comments