Skip to content

Commit 29ba0c8

Browse files
author
R Hudylko
committed
CatalogItemService CancellationToken fix
1 parent 106d647 commit 29ba0c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Source/FikaAmazonAPI/Services/CatalogItemService.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ public async Task<IList<Categories>> ListCatalogCategoriesAsync(string ASIN, str
8989
if (!string.IsNullOrEmpty(SellerSKU))
9090
param.Add(new KeyValuePair<string, string>("SellerSKU", SellerSKU));
9191

92-
await CreateAuthorizedRequestAsync(CategoryApiUrls.ListCatalogCategories, RestSharp.Method.Get, param);
93-
var response = await ExecuteRequestAsync<ListCatalogCategoriesResponse>(RateLimitType.CatalogItems_ListCatalogCategories);
92+
await CreateAuthorizedRequestAsync(CategoryApiUrls.ListCatalogCategories, RestSharp.Method.Get, param, cancellationToken: cancellationToken);
93+
var response = await ExecuteRequestAsync<ListCatalogCategoriesResponse>(RateLimitType.CatalogItems_ListCatalogCategories, cancellationToken);
9494

9595
if (response != null && response.Payload != null)
9696
return response.Payload;

0 commit comments

Comments
 (0)