Skip to content
Snippets Groups Projects

Topic/1425 fh privileges

Merged L. Ellenbeck requested to merge Topic/1425-fhPrivileges into Product/1414-fhPrivileges
3 files
+ 39
10
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -60,7 +60,7 @@ namespace Coscine.Api.STS.Controllers
var mapping = externalIdModel.GetAllWhere((map) => map.ExternalId1 == ORCiD && map.ExternalAuthenticatorId == orcidAuthItem.Id);
var userModel = new UserModel();
User user;
if (mapping.Count() > 0)
if (mapping.Any())
{
var userId = mapping.First().UserId;
user = userModel.GetById(userId);
Loading