FIX: fix get all tags route

This commit is contained in:
rodrigo.zamboni
2022-09-27 16:33:56 -03:00
parent 9dc96416e8
commit e724ef5ccc
2 changed files with 3 additions and 6 deletions
+2 -5
View File
@@ -350,16 +350,13 @@ export class CatalogController {
return res.data_assets;
}
@Get('tags/:id')
async findAllTags(@Body() body, @Param() params) {
@Get('tags')
async findAllTags(@Body() body) {
this.logger.info(`/catalog - ON FIND ALL TAGS ROUTE`, {
user: body.info.user_id,
customer: body.info.customer,
});
const { id } = params;
body.data_asset_id = id;
const { user_id, customer, customer_id } = body.info;
const metadata = PackTheMetadata({
user_id,
+1 -1
View File
File diff suppressed because one or more lines are too long