Skip to content
Snippets Groups Projects
Commit 4d93618e authored by Petar Hristov's avatar Petar Hristov :speech_balloon:
Browse files

Fix: Updated deps

parent 6fae55eb
Branches
Tags v0.1.15
1 merge request!31BREAKING: Migrated KPI Generator to the APIv2 infrastructure
Pipeline #1202620 passed
......@@ -21,7 +21,7 @@
<PackageReference Include="AutoMapper" Version="12.0.1" />
<PackageReference Include="AutoMapper.Extensions.Microsoft.DependencyInjection" Version="12.0.1" />
<PackageReference Include="CommandLineParser" Version="2.9.1" />
<PackageReference Include="Coscine.ApiClient" Version="1.3.0-issue-2666-admin0008" />
<PackageReference Include="Coscine.ApiClient" Version="1.3.0-issue-2666-admin0009" />
<PackageReference Include="dotNetRdf.Core" Version="3.1.1" />
<PackageReference Include="GitLabApiClient" Version="1.8.1-beta.5" />
<PackageReference Include="Microsoft.Extensions.Caching.Memory" Version="8.0.0" />
......
......@@ -37,7 +37,7 @@ public class MappingProfiles : Profile
.ForMember(ur => ur.Id, opt => opt.MapFrom(dto => dto.Id))
.ForMember(ur => ur.Disciplines, opt => opt.MapFrom(dto => dto.Disciplines))
.ForMember(ur => ur.Institutes, opt => opt.MapFrom(dto => dto.Institutes))
.ForMember(ur => ur.LatestActivity, opt => opt.Ignore())
.ForMember(ur => ur.LatestActivity, opt => opt.MapFrom(dto => dto.LatestActivity))
.ForMember(ur => ur.LoginProviders, opt => opt.MapFrom(dto => dto.Identities))
.ForMember(ur => ur.Organizations, opt => opt.MapFrom(dto => dto.Organizations))
.ForMember(ur => ur.RelatedProjects, opt => opt.Ignore());
......
......@@ -102,8 +102,6 @@ public class UserReporting
Role = roles.FirstOrDefault(r => r.Id == roleId)?.DisplayName ?? "UNKNOWN",
});
}
// TODO: Map latest activity
}
// General File
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment