Skip to content

Commit

Permalink
docs: improved asset creating code example
Browse files Browse the repository at this point in the history
  • Loading branch information
BugGambit committed Sep 10, 2019
1 parent b28f506 commit 9f57c58
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/resources/assets/assetsApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ export class AssetsAPI extends BaseResourceAPI<TypeAsset, Asset, AssetList> {
* ```js
* const assets = [
* { name: 'First asset' },
* { name: 'Second asset', description: 'Child asset' },
* { name: 'Second asset', description: 'Another asset', externalId: 'anotherAsset' },
* { name: 'Child asset', parentExternalId: 'anotherAsset'},
* ];
* const createdAssets = await client.assets.create(assets);
* ```
Expand Down

0 comments on commit 9f57c58

Please sign in to comment.