Update Profile v2 endpoint to use miniprofile and allow v2 endpoint to get miniprofile from only loginrequest

This commit is contained in:
CWX
2025-09-19 18:46:05 +01:00
parent 1bc3ef63f4
commit ca28cb2926
5 changed files with 17 additions and 7 deletions
@@ -92,10 +92,10 @@ public class LauncherV2Callbacks(
);
}
public ValueTask<string> Profile(MongoId sessionId)
public ValueTask<string> Profile(LoginRequestData sessionId)
{
return new ValueTask<string>(
httpResponseUtil.NoBody(new LauncherV2ProfileResponse { Response = launcherV2Controller.GetProfile(sessionId) })
httpResponseUtil.NoBody(new LauncherV2ProfileResponse { Response = launcherV2Controller.GetMiniProfileFromUsername(sessionId) })
);
}
}