Skip to content

Commit

Permalink
Add order by id to farcaster sync
Browse files Browse the repository at this point in the history
  • Loading branch information
francisco-leal committed Feb 28, 2024
1 parent 7035acf commit 0507a44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/sync_farcaster_followers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default class SyncFarcasterFollowers extends BaseCommand {
let users

if (this.farcasterId !== '-1') {
users = await User.query().where('id', '<=', this.farcasterId)
users = await User.query().where('id', '<=', this.farcasterId).orderBy('id', 'desc')
} else {
users = await User.query().orderBy('id', 'desc')
}
Expand Down

0 comments on commit 0507a44

Please sign in to comment.