From 09d762098fa372a29fdac37bef8b05a912cccb7a Mon Sep 17 00:00:00 2001 From: Travis Fischer Date: Tue, 13 Jun 2023 02:06:40 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/services/diffbot.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/services/diffbot.ts b/src/services/diffbot.ts index da069a8..235a27c 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() } }