Skip to content

Commit

Permalink
Fix Address mapping for Workshop to WorkshopProviderViewCard
Browse files Browse the repository at this point in the history
  • Loading branch information
DKymachynskyi committed Aug 28, 2023
1 parent af1941d commit 9e935a4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions OutOfSchool/OutOfSchool.WebApi/Util/MappingProfile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -234,8 +234,7 @@ public MappingProfile()
.ForMember(dest => dest.TakenSeats, opt => opt.MapFrom(src =>
src.Applications.Count(x =>
x.Status == ApplicationStatus.Approved
|| x.Status == ApplicationStatus.StudyingForYears)))
.ForMember(dest => dest.Address, opt => opt.Ignore());
|| x.Status == ApplicationStatus.StudyingForYears)));

CreateMap<SocialGroup, SocialGroupDto>().ReverseMap();

Expand Down

0 comments on commit 9e935a4

Please sign in to comment.