Skip to content
This repository was archived by the owner on Mar 28, 2025. It is now read-only.

Commit 2a70d2a

Browse files
authored
fix get content metadata (#24)
1 parent 9713fd5 commit 2a70d2a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "getindexify",
3-
"version": "0.0.30",
3+
"version": "0.0.31",
44
"description": "This is the TypeScript client for interacting with the Indexify service.",
55
"main": "./dist/index.js",
66
"module": "./dist/index.mjs",

src/client.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,8 +289,8 @@ class IndexifyClient {
289289
return this.baseContentToContentMetadata(resp.data.content_metadata);
290290
}
291291

292-
async getExtractedMetadata(id: string): Promise<IContentMetadata> {
293-
const resp = await this.client.get(`content/${id}/metadata`);
292+
async getContentMetadata(id: string): Promise<IContentMetadata> {
293+
const resp = await this.client.get(`content/${id}`);
294294
return resp.data.metadata;
295295
}
296296

0 commit comments

Comments
 (0)