♻️ Remove the Sphere project depends on the Pass project. Move to the shared project instead.

This commit is contained in:
2025-09-16 00:52:37 +08:00
parent 49beb17925
commit 3caa79b9a7
12 changed files with 16 additions and 21 deletions

View File

@@ -382,7 +382,7 @@ public class PublisherService(
public async Task<PublisherMember> LoadMemberAccount(PublisherMember member)
{
var account = await accountsHelper.GetAccount(member.AccountId);
member.Account = Pass.Account.Account.FromProtoValue(account);
member.Account = AccountReference.FromProtoValue(account);
return member;
}
@@ -394,7 +394,7 @@ public class PublisherService(
return members.Select(m =>
{
if (accounts.TryGetValue(m.AccountId, out var account))
m.Account = Pass.Account.Account.FromProtoValue(account);
m.Account = AccountReference.FromProtoValue(account);
return m;
}).ToList();
}