Skip to content

Commit

Permalink
Add: resolve comments
Browse files Browse the repository at this point in the history
  • Loading branch information
TaehyeonPark committed Feb 5, 2025
1 parent b75ba0f commit ac12dbe
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/schedules/autoSettlement.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ const autoSettlement = (app: Express) => async () => {
await Promise.all(
candidateRooms.map(async ({ _id: roomId, part }) => {
const user = await userModel.findById(part![0].user._id);
if (user && !user.withdraw) return false;

// 정산 채팅을 보냅니다.
await emitChatEvent(io, {
roomId: roomId.toString(),
Expand Down

0 comments on commit ac12dbe

Please sign in to comment.