rpc params json hotfix

This commit is contained in:
Maksym Dudnik 2023-10-13 16:41:36 +03:00
parent 297792014c
commit ef45ab4f3b

View File

@ -61,7 +61,7 @@ export class GatewayServiceRPCComponent implements AfterViewInit {
this.commandForm = this.fb.group({
command: [null,[Validators.required]],
time: [60, [Validators.required, Validators.min(1)]],
params: [{}, [jsonRequired]],
params: ['{}', [jsonRequired]],
result: [null]
});
}