Skip to content

Commit 7600ff1

Browse files
committed
Fix optional arguments compile error
1 parent a4a26e3 commit 7600ff1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Octokit.GraphQL.IntegrationTests/Queries/IssueTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ public async Task Can_AutoPage_Issues_Comments()
188188
.Select(issue => new
189189
{
190190
issue.Id,
191-
Comments = issue.Comments(null, null, null, null).AllPages(10).Select(comment => comment.Body).ToList(),
191+
Comments = issue.Comments(null, null, null, null, null).AllPages(10).Select(comment => comment.Body).ToList(),
192192
});
193193

194194
var result = (await Connection.Run(query)).ToList();
@@ -205,7 +205,7 @@ public async Task Can_AutoPage_Issues_Comments_With_Subquery()
205205
.Select(issue => new
206206
{
207207
issue.Id,
208-
Comments = issue.Comments(null, null, null, null).AllPages(10).Select(comment => new
208+
Comments = issue.Comments(null, null, null, null, null).AllPages(10).Select(comment => new
209209
{
210210
comment.Body,
211211
Reactions = comment.Reactions(null, null, null, null, null, null).AllPages().Select(r => r.Id).ToList()

0 commit comments

Comments
 (0)