diff --git a/Contentful.NET/ContentfulClient.cs b/Contentful.NET/ContentfulClient.cs index d179acf..b3e23b5 100644 --- a/Contentful.NET/ContentfulClient.cs +++ b/Contentful.NET/ContentfulClient.cs @@ -80,7 +80,7 @@ internal ContentfulClient(string space, IHttpClientWrapper configuredHttpClient) public async Task> SearchAsync(CancellationToken cancellationToken, IEnumerable searchFilters = null, string orderByProperty = null, OrderByDirection? orderByDirection = null, int? skip = null, int? limit = null, int? includeLevels = null) where T : IContentfulItem, new() { var endpointUrl = RestEndpointResolver.GetEndpointUrl(_space, _preview); - var requestUrl = GetRequestUrl(endpointUrl, null, searchFilters, orderByProperty, orderByDirection, skip, limit); + var requestUrl = GetRequestUrl(endpointUrl, null, searchFilters, orderByProperty, orderByDirection, skip, limit, includeLevels); var result = await MakeGetRequestAsync(requestUrl, cancellationToken); return await GetItemAsync>(result); } @@ -179,4 +179,4 @@ internal static async Task GetItemAsync(HttpResponseMessage responseMessag } } } -} \ No newline at end of file +}