mirror of
https://github.com/kevin-DL/commander_league_web.git
synced 2026-01-12 10:25:17 +00:00
Initial commit from Create Next App
This commit is contained in:
8
utils/auth/mapUserData.js
Normal file
8
utils/auth/mapUserData.js
Normal file
@@ -0,0 +1,8 @@
|
||||
export const mapUserData = (user) => {
|
||||
const { uid, email, xa, ya } = user
|
||||
return {
|
||||
id: uid,
|
||||
email,
|
||||
token: xa || ya,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user