From 1fd20fa26df1b5d01edafaa4e2c2787281107ba5 Mon Sep 17 00:00:00 2001 From: Adithya Krishna Date: Mon, 15 Jul 2024 22:35:55 +0530 Subject: [PATCH] chore: fix api typo Signed-off-by: Adithya Krishna --- package-lock.json | 4 ++-- package.json | 2 +- src/client.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index e433a21..88137ac 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "getindexify", - "version": "0.0.51", + "version": "0.0.52", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "getindexify", - "version": "0.0.51", + "version": "0.0.52", "license": "ISC", "dependencies": { "axios": "^1.6.7", diff --git a/package.json b/package.json index 6723a2f..10a96db 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/client.ts b/src/client.ts index f2a249e..1bf08ee 100644 --- a/src/client.ts +++ b/src/client.ts @@ -334,7 +334,7 @@ class IndexifyClient { extractionPolicy: string, ): Promise { 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;