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) => {