From 531964636b9bc6f4abe598acef2d2380b5890d3d Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Fri, 8 Dec 2023 19:59:06 +0100 Subject: [PATCH] Fix type (#2708) --- apps/api/src/app/access/access.controller.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/api/src/app/access/access.controller.ts b/apps/api/src/app/access/access.controller.ts index dd40a19f4..59fd8605c 100644 --- a/apps/api/src/app/access/access.controller.ts +++ b/apps/api/src/app/access/access.controller.ts @@ -17,7 +17,6 @@ import { AuthGuard } from '@nestjs/passport'; import { Access as AccessModel } from '@prisma/client'; import { StatusCodes, getReasonPhrase } from 'http-status-codes'; -import { AccessModule } from './access.module'; import { AccessService } from './access.service'; import { CreateAccessDto } from './create-access.dto'; @@ -83,7 +82,7 @@ export class AccessController { @Delete(':id') @UseGuards(AuthGuard('jwt')) - public async deleteAccess(@Param('id') id: string): Promise { + public async deleteAccess(@Param('id') id: string): Promise { const access = await this.accessService.access({ id }); if (