Skip to content

Commit

Permalink
Fix the documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
agajdosi committed Sep 16, 2024
1 parent 74ab98f commit a086b80
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ let client = await bkclientjs.getClientsNow()
if (client.length === 0) {
return
}
const ok = bkclientjs.downloadAssetToSoftware(client.port, assetID, assetBaseID, resolution, apiKey, client.software[0].appID)
const ok = bkclientjs.downloadAssetToSoftware(client.port, client.software[0].appID, assetID, assetBaseID, resolution, apiKey)
```

Or you can start a polling and then get the Clients from variable filled by the polling:
Expand All @@ -45,6 +45,8 @@ let clients = bkclientjs.getClients()

// or you can get the list of all software - this is what cares of:
let softwares = bkclientjs.getSoftwares()

const ok = bkclientjs.downloadAssetToSoftware(softwares[0].clientPort, softwares[0].appID, assetID, assetBaseID, resolution, apiKey)
```

## Developing
Expand Down

0 comments on commit a086b80

Please sign in to comment.