From 50363d28fefda2a65c43c2866e36664d66f0daa3 Mon Sep 17 00:00:00 2001 From: francisco-leal Date: Mon, 26 Feb 2024 14:46:14 +0000 Subject: [PATCH] Allow running followers script for all users --- commands/sync_farcaster_followers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/sync_farcaster_followers.ts b/commands/sync_farcaster_followers.ts index 1a8fe23..00eb94c 100644 --- a/commands/sync_farcaster_followers.ts +++ b/commands/sync_farcaster_followers.ts @@ -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')