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;
|
throw error;
|
||||||
}
|
}
|
||||||
|
|
||||||
return {
|
return normalizeProfile(data, email);
|
||||||
...data,
|
|
||||||
onboarded: true,
|
|
||||||
role: "member",
|
|
||||||
loyalty_points: 0,
|
|
||||||
} as AethexUserProfile;
|
|
||||||
},
|
},
|
||||||
|
|
||||||
async addUserInterests(userId: string, interests: string[]): Promise<void> {
|
async addUserInterests(userId: string, interests: string[]): Promise<void> {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue