mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-21 22:41:07 +02:00
Use private parameter properties
This commit is contained in:
parent
a3a756fdb2
commit
83596c7335
@ -30,13 +30,11 @@ const imApiVersion = "1.1";
|
||||
// TODO: Generify the name of this class and all components within - it's not just for Scalar.
|
||||
|
||||
export default class ScalarAuthClient {
|
||||
private apiUrl: string;
|
||||
private uiUrl: string;
|
||||
private scalarToken: string;
|
||||
private termsInteractionCallback: TermsInteractionCallback;
|
||||
private isDefaultManager: boolean;
|
||||
|
||||
constructor(apiUrl, uiUrl) {
|
||||
constructor(private apiUrl: string, private uiUrl: string) {
|
||||
this.apiUrl = apiUrl;
|
||||
this.uiUrl = uiUrl;
|
||||
this.scalarToken = null;
|
||||
|
Loading…
x
Reference in New Issue
Block a user