mirror of
https://github.com/dadosfera/maestro.git
synced 2026-11-04 19:39:08 +00:00
removing treatment of undefined embed field
This commit is contained in:
@@ -204,7 +204,7 @@ class CatalogService implements OnModuleInit {
|
||||
metadata: Metadata;
|
||||
}) {
|
||||
const { body, customer_id, data_asset_id, metadata } = data;
|
||||
if (!body.embed) body.embed = undefined;
|
||||
|
||||
const { data_asset } = await lastValueFrom(
|
||||
this.catalogWriteService.UpdateDataAsset(
|
||||
{ id: data_asset_id, changes: JSON.stringify(body) },
|
||||
|
||||
Reference in New Issue
Block a user