diff --git a/src/modules/catalog/catalog.controller.ts b/src/modules/catalog/catalog.controller.ts index 54dec17..913ac57 100644 --- a/src/modules/catalog/catalog.controller.ts +++ b/src/modules/catalog/catalog.controller.ts @@ -48,7 +48,7 @@ export class CatalogController { } @Get('all') - async catalogAll(@Body() body) { + async catalogAll(@Body() body, @Query() params) { const { user_id, customer, customer_id } = body.info; this.logger.info(`/catalog - ON CATALOG ALL ROUTE`, { user: body.info.user_id, @@ -62,7 +62,7 @@ export class CatalogController { }); const res = await this.catalogService.getAllOpenSearchDataAssets( - body, + params, metadata, );