fix object object bug

This commit is contained in:
Lone Iversen
2024-08-15 14:19:28 +02:00
parent 9493d25634
commit f1b2051e8e

View File

@@ -8,7 +8,7 @@ export class UmbExportMediaTypeEntityAction extends UmbEntityActionBase<object>
override async execute() {
if (!this.args.unique) throw new Error('Unique is not available');
const data = await this.#repository.requestExport(this.args.unique);
const { data } = await this.#repository.requestExport(this.args.unique);
if (!data) return;
blobDownload(data, `${this.args.unique}.udt`, 'text/xml');