Skip to content

Commit 5c29f20

Browse files
authored
[RSDK-11568] fixing args to doCommand in typescript code sample (#608)
1 parent e3baa68 commit 5c29f20

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

codesamples/apis.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,15 @@
3636
"genericservice": {
3737
"importName": "GenericServiceClient",
3838
"func": "doCommand",
39-
"args": ["{}"],
39+
"args": ["VIAM.Struct.fromJson({})"],
4040
"packagePath": "@viamrobotics/sdk",
4141
"packageName": "VIAM",
4242
"commented": true
4343
},
4444
"genericcomponent": {
4545
"importName": "GenericComponentClient",
4646
"func": "doCommand",
47-
"args": ["{}"],
47+
"args": ["VIAM.Struct.fromJson({})"],
4848
"packagePath": "@viamrobotics/sdk",
4949
"packageName": "VIAM",
5050
"commented": true

0 commit comments

Comments
 (0)