idz: Remove profile ext id
Turns out (while researching team creation) the profile ext id is just the aime id. After creating a team a profile discovery request is immediately issued with the "profile id" in the field that holds the aime id during initial profile load.
This commit is contained in:
@@ -6,8 +6,10 @@ export async function discoverProfile(
|
||||
w: Repositories,
|
||||
req: DiscoverProfileRequest
|
||||
): Promise<DiscoverProfileResponse> {
|
||||
const profileId = await w.profile().find(req.aimeId);
|
||||
|
||||
return {
|
||||
type: "discover_profile_res",
|
||||
exists: await w.profile().discoverByAimeId(req.aimeId),
|
||||
exists: profileId !== undefined,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user