🐛 Fix perk subscription getter
This commit is contained in:
@@ -32,7 +32,7 @@ public class AccountPublicController(
|
||||
try
|
||||
{
|
||||
var subscription = await remoteSubscription.GetPerkSubscription(account.Id);
|
||||
if (subscription != null)
|
||||
if (subscription is not null)
|
||||
{
|
||||
account.PerkSubscription = SnWalletSubscription.FromProtoValue(subscription).ToReference();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user