mirror of
https://github.com/dadosfera/maestro.git
synced 2026-08-31 19:58:21 +00:00
FIX: fix get all tags route
This commit is contained in:
@@ -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
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user