From 9dfd617f891d0ea19b31e8fd3b863fa8d5db3181 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Sat, 20 Apr 2024 10:36:31 +0300 Subject: [PATCH] fix(sync): use resolved repo when fetching comments --- src/commands/sync.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/sync.ts b/src/commands/sync.ts index 08cc0cc..ebbc5c8 100644 --- a/src/commands/sync.ts +++ b/src/commands/sync.ts @@ -77,7 +77,7 @@ export const sync = defineCommand({ if (issue.labels.length > 0) metadata.labels = issue.labels.map(label => label.name) - const comments = issue.comments > 0 ? await fetchIssueComments(args.repo, issue.number) : [] + const comments = issue.comments > 0 ? await fetchIssueComments(repo, issue.number) : [] for (const key in issue.reactions) { const reaction = key as keyof typeof issue['reactions'] -- knotmirror 0.0.1