Skip to content

Commit

Permalink
chore: 린트에러 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
hyonun321 committed Dec 4, 2024
1 parent f1abc75 commit 7faed5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/src/workspace/workspace.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ export class WorkSpaceService implements OnModuleInit {
}
// authUser Map에서 모든 유저 ID를 배열로 변환하여 반환
// authUser는 Map<string, string> 형태로 userId와 role을 저장하고 있음
//return Array.from(workspaceData.authUser.keys());
// return Array.from(workspaceData.authUser.keys());
const members = await this.userModel.find({ workspaces: workspaceId }).select("id");
return members.map((member) => member.id);
} catch (error) {
Expand Down Expand Up @@ -259,7 +259,7 @@ export class WorkSpaceService implements OnModuleInit {
return {
id: workspace.id,
name: workspace.name,
role: role,
role,
memberCount,
activeUsers: room?.size || 0,
};
Expand Down

0 comments on commit 7faed5f

Please sign in to comment.