From 506eabab398353a587f28dd5c022810ab3fd53dc Mon Sep 17 00:00:00 2001 From: Jerad Bitner Date: Tue, 3 Dec 2024 13:21:00 -0800 Subject: [PATCH] fix: update listIssues and updateIssue function signatures --- src/github/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/github/index.ts b/src/github/index.ts index f3c35e86..d861cbbb 100644 --- a/src/github/index.ts +++ b/src/github/index.ts @@ -473,7 +473,7 @@ async function createRepository( async function listIssues( owner: string, repo: string, - options: z.infer + options: Omit, 'owner' | 'repo'> ): Promise { const url = new URL(`https://api.github.com/repos/${owner}/${repo}/issues`); @@ -505,7 +505,7 @@ async function updateIssue( owner: string, repo: string, issueNumber: number, - options: z.infer + options: Omit, 'owner' | 'repo' | 'issue_number'> ): Promise { const response = await fetch( `https://api.github.com/repos/${owner}/${repo}/issues/${issueNumber}`,