From cd8ad7aab72d532f912cc34612cb48c5fad088b7 Mon Sep 17 00:00:00 2001 From: caf Date: Fri, 20 Jan 2023 14:26:03 +0400 Subject: [PATCH] fix --- src/app/pages/terminals/terminals.component.ts | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/app/pages/terminals/terminals.component.ts b/src/app/pages/terminals/terminals.component.ts index 538b260..c453f67 100644 --- a/src/app/pages/terminals/terminals.component.ts +++ b/src/app/pages/terminals/terminals.component.ts @@ -97,12 +97,9 @@ export class TerminalsComponent implements OnInit { } async getTerminal(id: string) { - await this.jsonRpcService.rpc2({ + await this.jsonRpcService.rpc({ method: 'getTerminal', - params: { - "client_id": this.choose, - "id": id - } + params: [ this.choose, id] }, RpcService.authService, false) .subscribe({ next: (result) => {