cammel to kabob

This commit is contained in:
Drew Ansbacher
2021-09-09 19:53:12 +03:00
committed by Drew Ansbacher
parent 8df85e522a
commit 4664e0ce35
2 changed files with 8 additions and 8 deletions

View File

@@ -9,10 +9,10 @@ export abstract class ApiService {
abstract getDataTransferProgress (): Promise<TransferProgressRes>; abstract getDataTransferProgress (): Promise<TransferProgressRes>;
abstract verifyRecoveryPassword (logicalname: string, password: string): Promise<boolean>; abstract verifyRecoveryPassword (logicalname: string, password: string): Promise<boolean>;
abstract setupEmbassy (setupInfo: { abstract setupEmbassy (setupInfo: {
embassyLogicalname: string, 'embassy-logicalname': string,
embassyPassword: string 'embassy-password': string
recoveryLogicalname?: string, 'recovery-logicalname'?: string,
recoveryPassword?: string 'recovery-password'?: string
}): Promise<SetupEmbassyRes> }): Promise<SetupEmbassyRes>
} }

View File

@@ -45,10 +45,10 @@ export class StateService {
async setupEmbassy () : Promise<{ torAddress: string }> { async setupEmbassy () : Promise<{ torAddress: string }> {
const ret = await this.apiService.setupEmbassy({ const ret = await this.apiService.setupEmbassy({
embassyLogicalname: this.embassyDrive.logicalname, 'embassy-logicalname': this.embassyDrive.logicalname,
embassyPassword: this.embassyPassword, 'embassy-password': this.embassyPassword,
recoveryLogicalname: this.recoveryDrive?.logicalname, 'recovery-logicalname': this.recoveryDrive?.logicalname,
recoveryPassword: this.recoveryPassword 'recovery-password': this.recoveryPassword
}) })
return { torAddress: ret['tor-address'] } return { torAddress: ret['tor-address'] }