From dd1b1e4f698b77f331e29d57e4a0561574fe845f Mon Sep 17 00:00:00 2001 From: ez <105545215+ezcolin2@users.noreply.github.com> Date: Thu, 5 Dec 2024 18:12:33 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20lint=20=EC=98=A4=EB=A5=98=20=ED=95=B4?= =?UTF-8?q?=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/backend/src/app.controller.ts | 2 +- apps/backend/src/workspace/workspace.module.ts | 2 +- apps/backend/src/workspace/workspace.service.ts | 7 +++---- apps/websocket/src/app.controller.ts | 2 +- 4 files changed, 6 insertions(+), 7 deletions(-) diff --git a/apps/backend/src/app.controller.ts b/apps/backend/src/app.controller.ts index cb318d6..e26b016 100644 --- a/apps/backend/src/app.controller.ts +++ b/apps/backend/src/app.controller.ts @@ -14,7 +14,7 @@ export class AppController { healthCheck() { return { status: 'ok', - timestamp: new Date().toISOString() + timestamp: new Date().toISOString(), }; } } diff --git a/apps/backend/src/workspace/workspace.module.ts b/apps/backend/src/workspace/workspace.module.ts index cf93b14..fc31e67 100644 --- a/apps/backend/src/workspace/workspace.module.ts +++ b/apps/backend/src/workspace/workspace.module.ts @@ -9,7 +9,7 @@ import { RoleModule } from '../role/role.module'; import { JwtAuthGuard } from '../auth/guards/jwt-auth.guard'; import { TokenModule } from '../auth/token/token.module'; import { TokenService } from '../auth/token/token.service'; -import { ConfigModule } from '@nestjs/config'; +import { ConfigModule } from '@nestjs/config'; @Module({ imports: [ diff --git a/apps/backend/src/workspace/workspace.service.ts b/apps/backend/src/workspace/workspace.service.ts index 2f833cf..97b3362 100644 --- a/apps/backend/src/workspace/workspace.service.ts +++ b/apps/backend/src/workspace/workspace.service.ts @@ -216,7 +216,7 @@ export class WorkspaceService { // 권한이 없으면 예외 발생 throw new ForbiddenAccessException(); } - + return { workspaceId: workspace.snowflakeId, title: workspace.title, @@ -227,7 +227,6 @@ export class WorkspaceService { }; } - /** * 가장 처음에 모두가 접속할 수 있는 main workspace를 생성한다. */ @@ -284,9 +283,9 @@ export class WorkspaceService { workspace: findWorkspace, user: findOwner, role: 'owner', - });} + }); } - + } async updateVisibility( userId: number, diff --git a/apps/websocket/src/app.controller.ts b/apps/websocket/src/app.controller.ts index 3dd14bd..0820bae 100644 --- a/apps/websocket/src/app.controller.ts +++ b/apps/websocket/src/app.controller.ts @@ -9,7 +9,7 @@ export class AppController { healthCheck() { return { status: 'ok', - timestamp: new Date().toISOString() + timestamp: new Date().toISOString(), }; } }