Normalize initial profile return
cgen-b5346408e52248608c28ed55da3868e1
This commit is contained in:
parent
27a7767e22
commit
6fef506b24
1 changed files with 1 additions and 6 deletions
|
|
@ -410,12 +410,7 @@ export const aethexUserService = {
|
|||
throw error;
|
||||
}
|
||||
|
||||
return {
|
||||
...data,
|
||||
onboarded: true,
|
||||
role: "member",
|
||||
loyalty_points: 0,
|
||||
} as AethexUserProfile;
|
||||
return normalizeProfile(data, email);
|
||||
},
|
||||
|
||||
async addUserInterests(userId: string, interests: string[]): Promise<void> {
|
||||
|
|
|
|||
Loading…
Reference in a new issue