rework Embassy tab, fix error type in patch-db, fix response type for embassy updates

This commit is contained in:
Matt Hill
2021-10-14 10:00:16 -06:00
committed by Aiden McClelland
parent 2f865a1953
commit 933481cd7d
24 changed files with 126 additions and 191 deletions

View File

@@ -118,9 +118,11 @@ export class MockApiService extends ApiService {
value: initialProgress,
},
]
const res = await this.http.rpcRequest<WithRevision<null>>({ method: 'db.patch', params: { patch } })
const res = await this.http.rpcRequest<RR.UpdateServerRes>({ method: 'db.patch', params: { patch } })
res.response = 'updating'
this.updateOSProgress(initialProgress.size)
return res
}