remove unecessary type

Signed-off-by: goenning <me@goenning.net>
This commit is contained in:
goenning
2021-12-28 14:51:15 +00:00
parent 96fb10fe25
commit 462c445892
@@ -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(