Skip to content

Commit

Permalink
fix: column reference inserted_at is ambiguous
Browse files Browse the repository at this point in the history
  • Loading branch information
Alan Shaw committed Apr 5, 2022
1 parent c38dd6d commit 3003926
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cron/src/jobs/pins.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ SELECT p.id, p.service, p.status, u.source_cid, p.inserted_at, p.updated_at
ON p.content_cid = u.content_cid
WHERE p.service IN (${CLUSTER_LIST})
AND p.status = 'PinError'
AND inserted_at > $1
AND p.inserted_at > $1
OFFSET $2
LIMIT $3`

Expand Down

0 comments on commit 3003926

Please sign in to comment.