Skip to content

Commit

Permalink
Allow running followers script for all users
Browse files Browse the repository at this point in the history
  • Loading branch information
francisco-leal committed Feb 26, 2024
1 parent 6039e5e commit 50363d2
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 @@ -20,7 +20,7 @@ export default class SyncFarcasterFollowers extends BaseCommand {

let users

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

0 comments on commit 50363d2

Please sign in to comment.