Skip to content

Commit e85a0d7

Browse files
Fix to typing in PR 260 (#261)
1 parent 635ac0a commit e85a0d7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Typesense/SearchParameters.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public record MultiSearchParameters : SearchParameters
4343
/// The query parameters of the preset will then be used in your search.
4444
/// </summary>
4545
[JsonPropertyName("preset")]
46-
public bool? Preset { get; set; }
46+
public string? Preset { get; set; }
4747

4848
public MultiSearchParameters(string collection, string text) : base(text)
4949
{
@@ -99,7 +99,7 @@ public record SearchParameters
9999
/// The query parameters of the preset will then be used in your search.
100100
/// </summary>
101101
[JsonPropertyName("preset")]
102-
public bool? Preset { get; set; }
102+
public string? Preset { get; set; }
103103

104104
/// <summary>
105105
/// Set this parameter to true if you wish to split the search query into space separated words yourself.

0 commit comments

Comments
 (0)