diff --git a/src/modules/catalog/catalog.controller.ts b/src/modules/catalog/catalog.controller.ts index a07abb1..959883f 100644 --- a/src/modules/catalog/catalog.controller.ts +++ b/src/modules/catalog/catalog.controller.ts @@ -155,18 +155,6 @@ export class CatalogController { return res; } - @Get('dashboard-metabase') - async getAllDashboardMetabase(@Body() body) { - this.logger.info(`/catalog - ON GET ALL DASHBOARDS METABASE ROUTE`, { - user: body.info.user_id, - customer: body.info.customer, - }); - - const res = await this.catalogService.getAllDashboardMetabase(body); - - return res; - } - @Get('dashboard-metabase/:id') async getOneDashboardMetabase( @Body() body, diff --git a/src/modules/catalog/catalog.service.ts b/src/modules/catalog/catalog.service.ts index 55a5e12..eee05d0 100644 --- a/src/modules/catalog/catalog.service.ts +++ b/src/modules/catalog/catalog.service.ts @@ -103,14 +103,6 @@ class CatalogService implements OnModuleInit { return data; } - async getAllDashboardMetabase(body) { - const nimbusUrl = this._getNimbusUrl(body); - const { data } = await axios.get( - `${nimbusUrl}/api/catalog/dashboard-metabase/`, - ); - return data; - } - async getUserRolesIds(userId: string) { const result = await this.userService.findOneById(userId).catch(() => null);