Skip to content

Commit d90978c

Browse files
committed
fix: provide restrictions property to query
fixes #204
1 parent 95bc2f6 commit d90978c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CompaniesHouse/UriBuilders/SearchCompanyUriBuilder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ protected override string BuildQuery(SearchCompanyRequest request)
1212
{
1313
var query = base.BuildQuery(request);
1414

15-
if (string.IsNullOrWhiteSpace(request.Restrictions))
15+
if (!string.IsNullOrWhiteSpace(request.Restrictions))
1616
{
1717
query += "&restrictions=" + request.Restrictions;
1818
}

0 commit comments

Comments
 (0)