FIX: deprecating old pipeline routes

This commit is contained in:
Gabriel Rosa
2023-02-08 18:07:06 -03:00
parent 8043635b1c
commit 9fcbeda470
6 changed files with 171 additions and 52 deletions
+4 -1
View File
@@ -560,7 +560,10 @@ export class CatalogController {
username,
});
const response = await this.catalogService.deleteComment(
{ data_asset_id: id, comment: body.comment },
{
data_asset_id: id,
comment: { ...body.comment, created_at: undefined, message: undefined },
},
metadata,
);