Skip to content

Commit

Permalink
fix: bad separator
Browse files Browse the repository at this point in the history
  • Loading branch information
Ant-hem authored and aseure committed Mar 31, 2020
1 parent 5f97a56 commit 2602f2e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Algolia.Search/Utils/QueryStringHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@ public static string BuildRestrictionQueryString(SecuredApiKeyRestriction restri
string restrictIndices = null;
if (restriction.RestrictIndices != null)
{
restrictIndices = $"restrictIndices={string.Join(";", restriction.RestrictIndices)}";
restrictIndices = $"restrictIndices={string.Join(",", restriction.RestrictIndices)}";
}

string restrictSources = null;
if (restriction.RestrictSources != null)
{
restrictSources = $"restrictSources={string.Join(";", restriction.RestrictSources)}";
restrictSources = $"restrictSources={string.Join(",", restriction.RestrictSources)}";
}

string restrictionQueryParams = ToQueryString(restriction, nameof(restriction.Query),
Expand Down

0 comments on commit 2602f2e

Please sign in to comment.