Normalize direct profile returns
cgen-39d529bfe29c41e2aa36927310f6dc1b
This commit is contained in:
parent
6fef506b24
commit
dc7aeef595
1 changed files with 2 additions and 2 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Reference in a new issue