We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1eee81d commit 4c6300eCopy full SHA for 4c6300e
src/main/java/org/typesense/api/Synonym.java
@@ -2,6 +2,7 @@
2
3
import org.typesense.api.utils.URLEncoding;
4
import org.typesense.model.SearchSynonym;
5
+import org.typesense.model.SearchSynonymDeleteResponse;
6
7
public class Synonym {
8
@@ -19,8 +20,8 @@ public SearchSynonym retrieve() throws Exception {
19
20
return this.apiCall.get(this.getEndpoint(), null, SearchSynonym.class);
21
}
22
- public SearchSynonym delete() throws Exception {
23
- return this.apiCall.delete(this.getEndpoint(), null, SearchSynonym.class);
+ public SearchSynonymDeleteResponse delete() throws Exception {
24
+ return this.apiCall.delete(this.getEndpoint(), null, SearchSynonymDeleteResponse.class);
25
26
27
public String getEndpoint() {
0 commit comments