fix object object issue

This commit is contained in:
Lone Iversen
2024-08-15 14:18:36 +02:00
parent 725ea33621
commit b78a18acda

View File

@@ -8,7 +8,7 @@ export class UmbExportDocumentTypeEntityAction extends UmbEntityActionBase<objec
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');