Skip to content

Commit 35d1ec7

Browse files
StriftCopilot
andauthored
Update src/main/java/com/meilisearch/sdk/SearchRequest.java
Co-authored-by: Copilot <[email protected]>
1 parent 3c93870 commit 35d1ec7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/meilisearch/sdk/SearchRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ public String toString() {
113113
.putOpt("retrieveVectors", this.retrieveVectors);
114114

115115
if (this.hybrid != null) {
116-
jsonObject.put("hybrid", new JSONObject(this.hybrid.toString()));
116+
jsonObject.put("hybrid", this.hybrid.toJSONObject());
117117
}
118118

119119
return jsonObject.toString();

0 commit comments

Comments
 (0)