Skip to content

Commit e4a0e5e

Browse files
authored
Merge pull request #178 from JakobBacklund/master
Fix optional querystring for GetAsset in IContentfulClient
2 parents 86485ab + abb9618 commit e4a0e5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Contentful.Core/IContentfulClient.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ public interface IContentfulClient
113113
/// <returns>The response from the API serialized into an <see cref="Asset"/></returns>
114114
/// <exception cref="ContentfulException">There was an error when communicating with the Contentful API.</exception>
115115
/// <exception cref="ArgumentException">The assetId parameter was null or emtpy.</exception>
116-
Task<Asset> GetAsset(string assetId, string queryString, CancellationToken cancellationToken = default);
116+
Task<Asset> GetAsset(string assetId, string queryString = null, CancellationToken cancellationToken = default);
117117

118118
/// <summary>
119119
/// Gets all assets of a space, filtered by an optional <see cref="QueryBuilder{T}"/>.

0 commit comments

Comments
 (0)