load service checkpoint

This commit is contained in:
Drew Ansbacher
2021-09-07 22:30:31 +03:00
committed by Aiden McClelland
parent 0572855734
commit 24bb9125db
8 changed files with 51 additions and 69 deletions

View File

@@ -1536,10 +1536,6 @@ export module Mock {
// disk: '1TB SSD',
// memory: '8GB',
// },
// 'connection-addresses': {
// tor: ['http://privacy34kn4ez3y3nijweec6w4g54i3g54sdv7r5mr6soma3w4begyd.onion'],
// clearnet: ['https://start9.com'],
// },
// },
// 'package-data': {
// 'bitcoind': bitcoind,

View File

@@ -107,7 +107,7 @@ export module RR {
// ssh
export type GetSSHKeysReq = { } // ssh.get
export type GetSSHKeysReq = { } // ssh.list
export type GetSSHKeysRes = SSHKeys
export type AddSSHKeyReq = { pubkey: string } // ssh.add

View File

@@ -171,7 +171,7 @@ export class LiveApiService extends ApiService {
// ssh
async getSshKeys (params: RR.GetSSHKeysReq): Promise <RR.GetSSHKeysRes> {
return this.http.rpcRequest({ method: 'ssh.get', params })
return this.http.rpcRequest({ method: 'ssh.list', params })
}
async addSshKey (params: RR.AddSSHKeyReq): Promise <RR.AddSSHKeyRes> {