Skip to content

Commit

Permalink
Merge pull request #20 from Kentico/DEL-1984_Asset-GetNextPage-Error
Browse files Browse the repository at this point in the history
DEL-1984 Fixed JSON error in ListAssetsAsync call
  • Loading branch information
zbynekh authored Aug 20, 2018
2 parents bf62d4d + f8d727e commit eaa703d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion KenticoCloud.ContentManagement/ContentManagementClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ public async Task<ListingResponseModel<AssetModel>> ListAssetsAsync()
private async Task<IListingResponse<AssetModel>> GetNextAssetListingPageAsync(string continuationToken)
{
var endpointUrl = _urlBuilder.BuildAssetListingUrl(continuationToken);
var response = await _actionInvoker.InvokeReadOnlyMethodAsync<IListingResponse<AssetModel>>(endpointUrl, HttpMethod.Get);
var response = await _actionInvoker.InvokeReadOnlyMethodAsync<AssetListingResponseServerModel>(endpointUrl, HttpMethod.Get);

return response;
}
Expand Down

0 comments on commit eaa703d

Please sign in to comment.