Skip to content

Commit 1c047be

Browse files
committed
fix: ambigous column in sql query
1 parent 2ba3fde commit 1c047be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/import-uptime.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ const importUptime = async () => {
5959
// hard limit to 10k, sort by voting weight
6060
const offlineReps = await db('accounts')
6161
.select('accounts.account')
62-
.whereNotIn('account', onlineReps)
62+
.whereNotIn('accounts.account', onlineReps)
6363
.where({ representative: true })
6464
.leftJoin(
6565
'accounts_meta_index',

0 commit comments

Comments
 (0)