Skip to content

Commit

Permalink
Update api.py (#86)
Browse files Browse the repository at this point in the history
  • Loading branch information
mryave authored Oct 8, 2024
1 parent 29a5e5b commit 3f125e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arcee/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ def delete_corpus(corpus_name: str) -> Dict[str, str]:
corpus (str): The name of the corpus to delete
"""
data = {"corpus_name": corpus_name}
return make_request("delete", Route.corpus + "/delete", data)
return make_request("delete", Route.corpus, data)


def corpus_status(corpus_id: str) -> Dict[str, str]:
Expand Down

0 comments on commit 3f125e7

Please sign in to comment.