Skip to content

Commit

Permalink
chore: fix api typo
Browse files Browse the repository at this point in the history
Signed-off-by: Adithya Krishna <[email protected]>
  • Loading branch information
adithyaakrishna committed Jul 15, 2024
1 parent b91755a commit 1fd20fa
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "getindexify",
"version": "0.0.51",
"version": "0.0.52",
"description": "This is the TypeScript client for interacting with the Indexify service.",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
Expand Down
2 changes: 1 addition & 1 deletion src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ class IndexifyClient {
extractionPolicy: string,
): Promise<ITask[]> {
const response = await this.client.get(
`/extraction_graphs/${extractionGraph}/extraction_policies/${extractionPolicy}/tasks/adi`,
`/extraction_graphs/${extractionGraph}/extraction_policies/${extractionPolicy}/tasks`,
);

return response.data.tasks;
Expand Down

0 comments on commit 1fd20fa

Please sign in to comment.