File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -473,7 +473,7 @@ async function createRepository(
473
473
async function listIssues (
474
474
owner : string ,
475
475
repo : string ,
476
- options : z . infer < typeof ListIssuesOptionsSchema >
476
+ options : Omit < z . infer < typeof ListIssuesOptionsSchema > , 'owner' | 'repo' >
477
477
) : Promise < GitHubIssue [ ] > {
478
478
const url = new URL ( `https://api.github.com/repos/${ owner } /${ repo } /issues` ) ;
479
479
@@ -505,7 +505,7 @@ async function updateIssue(
505
505
owner : string ,
506
506
repo : string ,
507
507
issueNumber : number ,
508
- options : z . infer < typeof UpdateIssueOptionsSchema >
508
+ options : Omit < z . infer < typeof UpdateIssueOptionsSchema > , ' owner ' | ' repo ' | ' issue_number ' >
509
509
) : Promise < GitHubIssue > {
510
510
const response = await fetch (
511
511
`https://api.github.com/repos/${ owner } /${ repo } /issues/${ issueNumber } ` ,
You can’t perform that action at this time.
0 commit comments