From f989a31fe257e3741523c91a81f22eff1322a55d Mon Sep 17 00:00:00 2001 From: Ganesh Nalawade Date: Fri, 20 Oct 2023 09:17:37 +0530 Subject: [PATCH] Update data_source to data_source_description in content matches (#993) * For the contentmatches endpoint change the name of the field from `data_source` to `data_source_description` to align with the changes in API Co-authored-by: Ansible-lightspeed-Bot --- src/features/lightspeed/contentMatchesWebview.ts | 2 +- src/interfaces/lightspeed.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/features/lightspeed/contentMatchesWebview.ts b/src/features/lightspeed/contentMatchesWebview.ts index ee89583b8..4efafd5ec 100644 --- a/src/features/lightspeed/contentMatchesWebview.ts +++ b/src/features/lightspeed/contentMatchesWebview.ts @@ -180,7 +180,7 @@ export class ContentMatchesWebview implements vscode.WebviewViewProvider { diff --git a/src/interfaces/lightspeed.ts b/src/interfaces/lightspeed.ts index 5979089b4..f0fabc27f 100644 --- a/src/interfaces/lightspeed.ts +++ b/src/interfaces/lightspeed.ts @@ -91,7 +91,7 @@ export interface IContentMatchParams { repo_url: string; path: string; license: string; - data_source: string; + data_source_description: string; score: number; }