mirror of https://github.com/vector-im/riot-web
Remove ts-ignores where no longer necessary (#89)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>pull/28192/head
parent
36fae00cf3
commit
39a0f6e17b
|
@ -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,
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue