diff --git a/src/services/diffbot.ts b/src/services/diffbot.ts index da069a84..235a27c4 100644 --- a/src/services/diffbot.ts +++ b/src/services/diffbot.ts @@ -213,7 +213,7 @@ export interface DiffbotKnowledgeGraphEnhanceOptions { nonCanonicalFacts?: boolean } -export interface DiffbotKnowledgeGraphSearchResponse { +export interface DiffbotKnowledgeGraphResponse { data: DiffbotKnowledgeGraphNode[] version: number hits: number @@ -388,7 +388,7 @@ export class DiffbotClient { token: this.apiKey } }) - .json() + .json() } async knowledgeGraphEnhance(options: DiffbotKnowledgeGraphEnhanceOptions) { @@ -399,6 +399,6 @@ export class DiffbotClient { token: this.apiKey } }) - .json() + .json() } }