FIX: passing params with query params

This commit is contained in:
rodrigo.zamboni
2022-09-19 15:06:16 -03:00
parent c3877657ef
commit a8e13c01d2
+2 -2
View File
@@ -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,
);