Browse Source

Mark GetLinkConsentAsync nullable return to clarify the contract

pull/25450/head
maliming 4 months ago
parent
commit
3f52b0aecd
No known key found for this signature in database GPG Key ID: A646B9CB645ECEA4
  1. 2
      modules/identity/src/Volo.Abp.Identity.Domain/Volo/Abp/Identity/IdentityLinkUserManager.cs

2
modules/identity/src/Volo.Abp.Identity.Domain/Volo/Abp/Identity/IdentityLinkUserManager.cs

@ -175,7 +175,7 @@ public class IdentityLinkUserManager : DomainService
}
}
public virtual async Task<string> GetLinkConsentAsync(IdentityLinkUserInfo sourceLinkUser, CancellationToken cancellationToken = default)
public virtual async Task<string?> GetLinkConsentAsync(IdentityLinkUserInfo sourceLinkUser, CancellationToken cancellationToken = default)
{
using (CurrentTenant.Change(sourceLinkUser.TenantId))
{

Loading…
Cancel
Save