Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelbannov committed Dec 26, 2024
1 parent 514c990 commit c3fa6df
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion common/ASC.FederatedLogin/AccountLinker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public async Task<IDictionary<string, LoginProfile>> GetLinkedProfilesAsync(IEnu
return (await GetLinkedProfilesAsync(objects)).Where(o => o.Value.Provider.Equals(provider)).ToDictionary(k => k.Key, v => v.Value);
}

public async Task<IEnumerable<LoginProfile>> GetLinkedProfilesAsync(string obj)
public async Task<List<LoginProfile>> GetLinkedProfilesAsync(string obj)
{
return await accountLinkerStorage.GetFromCacheAsync(obj, GetLinkedProfilesFromDBAsync);
}
Expand Down
2 changes: 1 addition & 1 deletion products/ASC.People/Server/Api/ThirdpartyController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public class ThirdpartyController(
public async Task<ICollection<AccountInfoDto>> GetAuthProvidersAsync(AuthProvidersRequestDto inDto)
{
var infos = new List<AccountInfoDto>();
IEnumerable<LoginProfile> linkedAccounts = new List<LoginProfile>();
var linkedAccounts = new List<LoginProfile>();

if (authContext.IsAuthenticated)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,4 @@ public class AccountInfoDto
/// Specifies if an account is linked or not
/// </summary>
public bool Linked { get; set; }

/// <summary>
/// Class
/// </summary>
public string Class { get; set; }
}

0 comments on commit c3fa6df

Please sign in to comment.