Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/main/java/org/typesense/api/Override.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import org.typesense.api.utils.URLEncoding;
import org.typesense.model.SearchOverride;
import org.typesense.model.SearchOverrideDeleteResponse;

public class Override {

Expand All @@ -19,8 +20,8 @@ public SearchOverride retrieve() throws Exception {
return this.apiCall.get(this.getEndpoint(), null, SearchOverride.class);
}

public SearchOverride delete() throws Exception {
return this.apiCall.delete(this.getEndpoint(), null, SearchOverride.class);
public SearchOverrideDeleteResponse delete() throws Exception {
return this.apiCall.delete(this.getEndpoint(), null, SearchOverrideDeleteResponse.class);
}

public String getEndpoint() {
Expand Down