From 68a7ac14650f0a347c333c96b4e00965bb0a6f38 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Wed, 25 Sep 2024 17:00:18 +0100 Subject: [PATCH] Remove ts-ignores where no longer necessary Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- src/BasePlatform.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/BasePlatform.ts b/src/BasePlatform.ts index c8ef0a780f..20e9e7add3 100644 --- a/src/BasePlatform.ts +++ b/src/BasePlatform.ts @@ -432,12 +432,8 @@ export default abstract class BasePlatform { redirectUris: [this.getOidcCallbackUrl().href], logoUri: config.oidc_metadata?.logo_uri ?? new URL("vector-icons/1024.png", this.baseUrl).href, applicationType: "web", - // XXX: We break the spec by not consistently supplying these required fields - // @ts-ignore contacts: config.oidc_metadata?.contacts, - // @ts-ignore tosUri: config.oidc_metadata?.tos_uri ?? config.terms_and_conditions_links?.[0]?.url, - // @ts-ignore policyUri: config.oidc_metadata?.policy_uri ?? config.privacy_policy_url, }; }