Normalize initial profile return

cgen-b5346408e52248608c28ed55da3868e1
This commit is contained in:
Builder.io 2025-10-04 10:39:23 +00:00
parent 27a7767e22
commit 6fef506b24

View file

@ -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> {