Skip to content
Snippets Groups Projects
Commit 3c90845f authored by L. Ellenbeck's avatar L. Ellenbeck
Browse files

Merge branch 'Issue/2850-removeGrantId' into 'main'

Fix: Removed GrantId from project reporting

See merge request !36
parents 060914f6 0dac7afc
Branches
Tags
1 merge request!36Fix: Removed GrantId from project reporting
Pipeline #1284456 passed
......@@ -16,7 +16,6 @@ public class MappingProfiles : Profile
.ForMember(pr => pr.Disciplines, opt => opt.MapFrom(dto => dto.Disciplines))
.ForMember(pr => pr.Deleted, opt => opt.MapFrom(dto => dto.Deleted))
.ForMember(pr => pr.ProjectVisibility, opt => opt.MapFrom(dto => dto.Visibility))
.ForMember(pr => pr.GrantId, opt => opt.MapFrom(dto => dto.GrantId))
.ForMember(pr => pr.Users, opt => opt.MapFrom(dto => dto.ProjectRoles.Count))
.ForMember(pr => pr.ResourceTypeQuota, opt => opt.MapFrom(dto => dto.ProjectQuota));
......
......@@ -25,9 +25,6 @@ public record ProjectReport
[JsonPropertyName("ProjectVisibility")]
public ProjectVisibility ProjectVisibility { get; init; } = null!;
[JsonPropertyName("GrantId")]
public string GrantId { get; init; } = null!;
[JsonPropertyName("Users")]
public int Users { get; init; }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment