From aeb959f546bd304c3bdf38d5471c8b070d1e5d92 Mon Sep 17 00:00:00 2001 From: Alexander Shevtsov Date: Tue, 1 Jul 2025 17:53:19 +0200 Subject: [PATCH] fixed beam argument parsing --- bin/beam.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/beam.ts b/bin/beam.ts index f43566e..a7860f0 100755 --- a/bin/beam.ts +++ b/bin/beam.ts @@ -329,10 +329,10 @@ program program - .command('npub [d-tag]') + .command('npub [dTag]') .option('--latest', 'Find the latest version of the event') .description('Query Nostr events for an npub') - .action(async (npub: string, kind: string, dTag: string | undefined, cmd: any) => { + .action(async (npub: string, kind: string, dTag: string | undefined, _: any, cmd: any) => { const opts = cmd.optsWithGlobals(); let beam: Beam | null = null;