From 2a3dd30dea49d0165bf761c82b28e95310add62d Mon Sep 17 00:00:00 2001 From: yulia-bel Date: Thu, 28 Sep 2023 11:15:58 +0200 Subject: [PATCH] Remove redundant imports --- api/apps/api/src/modules/cost-surface/cost-surface.service.ts | 2 -- .../api/src/modules/projects/project-cost-surface.controller.ts | 1 - 2 files changed, 3 deletions(-) diff --git a/api/apps/api/src/modules/cost-surface/cost-surface.service.ts b/api/apps/api/src/modules/cost-surface/cost-surface.service.ts index f53c1b8f09..8fd6ff034e 100644 --- a/api/apps/api/src/modules/cost-surface/cost-surface.service.ts +++ b/api/apps/api/src/modules/cost-surface/cost-surface.service.ts @@ -8,8 +8,6 @@ import { projectNotEditable } from '@marxan-api/modules/projects/projects.servic import { UploadCostSurfaceShapefileDto } from '@marxan-api/modules/cost-surface/dto/upload-cost-surface-shapefile.dto'; import { UpdateCostSurfaceDto } from '@marxan-api/modules/cost-surface/dto/update-cost-surface.dto'; import { CostSurfaceCalculationPort } from '@marxan-api/modules/cost-surface/ports/project/cost-surface-calculation.port'; -import { forbiddenError } from '@marxan-api/modules/access-control'; - export const costSurfaceNotEditableWithinProject = Symbol( `cost surface not editable within project`, ); diff --git a/api/apps/api/src/modules/projects/project-cost-surface.controller.ts b/api/apps/api/src/modules/projects/project-cost-surface.controller.ts index 0643f6307d..4cab5461e7 100644 --- a/api/apps/api/src/modules/projects/project-cost-surface.controller.ts +++ b/api/apps/api/src/modules/projects/project-cost-surface.controller.ts @@ -1,7 +1,6 @@ import { Body, Controller, - ForbiddenException, forwardRef, Get, Inject,