Normalize direct profile returns

cgen-39d529bfe29c41e2aa36927310f6dc1b
This commit is contained in:
Builder.io 2025-10-04 10:39:51 +00:00
parent 6fef506b24
commit dc7aeef595

View file

@ -291,7 +291,7 @@ export const aethexUserService = {
throw error;
}
return data as AethexUserProfile;
return normalizeProfile(data);
},
async listProfiles(limit = 50): Promise<AethexUserProfile[]> {
@ -358,7 +358,7 @@ export const aethexUserService = {
throw error;
}
return data as AethexUserProfile;
return normalizeProfile(data);
},
async createInitialProfile(