chore: remove the last occurence of getIdToken

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2022-01-12 13:17:08 +01:00
committed by Patrik Oldsberg
parent c4a1dc4ec8
commit 8a086d1c36
@@ -106,7 +106,7 @@ export class TechInsightsClient implements TechInsightsApi {
checks?: Check[],
): Promise<BulkCheckResponse> {
const url = await this.discoveryApi.getBaseUrl('tech-insights');
const token = await this.identityApi.getIdToken();
const { token } = await this.identityApi.getCredentials();
const checkIds = checks ? checks.map(check => check.id) : [];
const requestBody = {
entities,