Skip to content

Commit c684eae

Browse files
committed
Make the query optional in SearchResult
1 parent 0d39442 commit c684eae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/MeiliSearch/Model/SearchResult.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ public struct SearchResult<T>: Codable, Equatable where T: Codable, T: Equatable
3333
public let processingTimeMs: Int?
3434

3535
/// Query string from the search.
36-
public let query: String
36+
public let query: String?
3737

3838
}

0 commit comments

Comments
 (0)