Skip to content

Commit d4a6b68

Browse files
committed
add async in next token
1 parent dad9e18 commit d4a6b68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/FikaAmazonAPI/Services/ReportService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public async Task<List<Report>> GetReportsAsync(ParameterReportList parameterRep
3939

4040
while (!string.IsNullOrEmpty(parameterReportList.nextToken))
4141
{
42-
var nextTokenResponse = GetReportsByNextToken(parameterReportList);
42+
var nextTokenResponse = await GetReportsByNextTokenAsync(parameterReportList);
4343
list.AddRange(nextTokenResponse.Reports);
4444
parameterReportList.nextToken = nextTokenResponse.NextToken;
4545
}

0 commit comments

Comments
 (0)