Skip to content

Commit

Permalink
fix: Type in synonym query is now a String instead String[]
Browse files Browse the repository at this point in the history
[Changelog]

Fixed the type of "SynonymQuery.Type". It's now a String instead
of a List<string>.

For example: Type =  "synonym,oneWaySynonym,placeholder";

https://www.algolia.com/doc/api-reference/api-methods/search-synonyms/#method-param-type
  • Loading branch information
Ant-hem committed Sep 24, 2019
1 parent 0652401 commit 9a20b2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Algolia.Search/Models/Synonyms/SynonymQuery.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public SynonymQuery(string query = "")
/// <summary>
/// There are 4 synonym types. The parameter can be one of the following values <see cref="Enums.SynonymType"/>
/// </summary>
public List<string> Type { get; set; }
public string Type { get; set; }

/// <summary>
/// Page to retrieve
Expand Down

0 comments on commit 9a20b2e

Please sign in to comment.