This commit is contained in:
Aaron Greenspan
2021-01-20 12:43:00 -07:00
committed by Aiden McClelland
parent 7417bfdbfa
commit 833941b031
7 changed files with 66 additions and 18 deletions

View File

@@ -167,6 +167,7 @@ export class MockApiService extends ApiService {
}
async patchServerConfig (attr: string, value: any): Promise<EmptyResponse> {
console.log('huh', attr, value)
await mockPatchServerConfig()
this.serverModel.update({ [attr]: value })
return { }
@@ -409,7 +410,7 @@ const mockApiServer: () => ReqRes.GetServerRes = () => ({
versionLatest: '0.2.9',
status: ServerStatus.RUNNING,
alternativeRegistryUrl: 'beta-registry.start9labs.com',
welcomeAck: true,
welcomeAck: false,
autoCheckUpdates: true,
specs: {
'Tor Address': 'nfsnjkcnaskjnlkasnfahj7dh23fdnieqwjdnhjewbfijendiueqwbd.onion',