forked from mystiq/hydrogen-web
Fix formatting
This commit is contained in:
parent
c54ca168ed
commit
a31860dc5f
2 changed files with 2 additions and 2 deletions
|
@ -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"]>;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue