This commit is contained in:
caf 2023-01-20 14:26:03 +04:00
parent cf846fa8ee
commit cd8ad7aab7

View File

@ -97,12 +97,9 @@ export class TerminalsComponent implements OnInit {
} }
async getTerminal(id: string) { async getTerminal(id: string) {
await this.jsonRpcService.rpc2({ await this.jsonRpcService.rpc({
method: 'getTerminal', method: 'getTerminal',
params: { params: [ this.choose, id]
"client_id": this.choose,
"id": id
}
}, RpcService.authService, false) }, RpcService.authService, false)
.subscribe({ .subscribe({
next: (result) => { next: (result) => {