Skip to content

Commit

Permalink
fix: 400 status code throw error
Browse files Browse the repository at this point in the history
  • Loading branch information
kyeahxx19 committed Mar 22, 2024
1 parent b06eed5 commit b9d8b80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/event/event.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ export class EventController {
eventUser.group.createdAt >
new Date(new Date().getTime() + 1000 * 60 * 60 * 9 - 1000 * 60 * 30)
) {
return new HttpException('화살 보내기가 끝나지 않았습니다', 400);
throw new HttpException('화살 보내기가 끝나지 않았습니다', 400);
}

const matchedUser = this.eventService.getFinalArrow(id);
Expand Down

0 comments on commit b9d8b80

Please sign in to comment.