Skip to content

Commit

Permalink
fix: lint 오류 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
ezcolin2 committed Dec 5, 2024
1 parent 560be7c commit dd1b1e4
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion apps/backend/src/app.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export class AppController {
healthCheck() {
return {
status: 'ok',
timestamp: new Date().toISOString()
timestamp: new Date().toISOString(),
};
}
}
2 changes: 1 addition & 1 deletion apps/backend/src/workspace/workspace.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand Down
7 changes: 3 additions & 4 deletions apps/backend/src/workspace/workspace.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ export class WorkspaceService {
// 권한이 없으면 예외 발생
throw new ForbiddenAccessException();
}

return {
workspaceId: workspace.snowflakeId,
title: workspace.title,
Expand All @@ -227,7 +227,6 @@ export class WorkspaceService {
};
}


/**
* 가장 처음에 모두가 접속할 수 있는 main workspace를 생성한다.
*/
Expand Down Expand Up @@ -284,9 +283,9 @@ export class WorkspaceService {
workspace: findWorkspace,
user: findOwner,
role: 'owner',
});}
});
}

}

async updateVisibility(
userId: number,
Expand Down
2 changes: 1 addition & 1 deletion apps/websocket/src/app.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export class AppController {
healthCheck() {
return {
status: 'ok',
timestamp: new Date().toISOString()
timestamp: new Date().toISOString(),
};
}
}

0 comments on commit dd1b1e4

Please sign in to comment.