Skip to content
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.

Commit

Permalink
fix: uses proper method to export all assets
Browse files Browse the repository at this point in the history
  • Loading branch information
Enngage committed Jan 22, 2020
1 parent c6d64d2 commit 4bdb38a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/export/export.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export class ExportService {
}

public async exportAssetsAsync(): Promise<AssetContracts.IAssetModelContract[]> {
const response = await this.client.listAssets().toPromise();
const response = await this.client.listAssets().toAllPromise();
response.data.items.forEach(m => this.processItem(m.fileName, 'asset', m));
return response.data.items.map(m => m._raw);
}
Expand Down

0 comments on commit 4bdb38a

Please sign in to comment.