Skip to content

Commit b189f30

Browse files
committed
Remove redundant console.log
1 parent e917ba5 commit b189f30

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/events/events.controller.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,8 @@ export class EventsController {
3636
async findAll(@Request() req, @Query('user') u: boolean): Promise<Event[]> {
3737
const user = await this.usersService.findByEmail(req.user.user.email);
3838

39-
if (u) {
39+
if (u)
4040
return await this.eventsService.findAllForUserWithParticipantUser(user);
41-
}
42-
console.log("User field not requested")
4341
return await this.eventsService.findAllForUser(user);
4442
}
4543

0 commit comments

Comments
 (0)