Skip to content
This repository was archived by the owner on May 4, 2020. It is now read-only.

Commit d7d8b13

Browse files
committed
fix: tournamentId in login
1 parent fede68d commit d7d8b13

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/api/controllers/auth/login.js

+1
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ const Login = (userModel, teamModel, cartModel, cartItemModel) => async (req, re
9898
team: user.team ? {
9999
id: user.team && user.team.id,
100100
name: user.team && user.team.name,
101+
tournamentId: user.team && user.team.tournamentId,
101102
} : null,
102103
type: user.type,
103104
permissions: user.permissions,

0 commit comments

Comments
 (0)