From 462c445892c6841bdd82e439387ae487347c445c Mon Sep 17 00:00:00 2001 From: goenning Date: Tue, 28 Dec 2021 14:51:15 +0000 Subject: [PATCH] remove unecessary type Signed-off-by: goenning --- plugins/tech-insights/src/api/TechInsightsClient.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/tech-insights/src/api/TechInsightsClient.ts b/plugins/tech-insights/src/api/TechInsightsClient.ts index e69fb5ceeb..d9d56f8048 100644 --- a/plugins/tech-insights/src/api/TechInsightsClient.ts +++ b/plugins/tech-insights/src/api/TechInsightsClient.ts @@ -71,7 +71,7 @@ export class TechInsightsClient implements TechInsightsApi { const url = await this.discoveryApi.getBaseUrl('tech-insights'); const token = await this.identityApi.getIdToken(); const { namespace, kind, name } = entityParams; - const checkIds = checks ? checks.map((check: Check) => check.id) : []; + const checkIds = checks ? checks.map(check => check.id) : []; const requestBody = { checks: checkIds.length > 0 ? checkIds : null }; const response = await fetch( `${url}/checks/run/${encodeURIComponent(namespace)}/${encodeURIComponent(