Fix formatting

This commit is contained in:
RMidhunSuresh 2021-11-24 14:55:44 +05:30
parent c54ca168ed
commit a31860dc5f
2 changed files with 2 additions and 2 deletions

View file

@ -19,5 +19,5 @@ import type {HomeServerApi} from "../net/HomeServerApi.js";
export interface ILoginMethod {
homeserver: string;
login(hsApi: HomeServerApi, deviceName: string, log: ILogItem): Promise<Response["body"]>;
login(hsApi: HomeServerApi, deviceName: string, log: ILogItem): Promise<Response["body"]>;
}

View file

@ -20,8 +20,8 @@ import {ILoginMethod} from "./LoginMethod";
import {HomeServerApi} from "../net/HomeServerApi.js";
export class TokenLoginMethod implements ILoginMethod {
public readonly homeserver: string;
private readonly _loginToken: string;
public readonly homeserver: string;
constructor({ homeserver, loginToken }: { homeserver: string, loginToken: string}) {
this.homeserver = homeserver;