mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
refactor(directory): ♻ simplify GetMaintainers query
This commit is contained in:
parent
9043a161e4
commit
58ca7d77d8
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ public MaintainerViewModelProfile()
|
|||
{
|
||||
CreateMap<Maintainer, MaintainerViewModel>()
|
||||
.ForMember(m => m.FilterListIds,
|
||||
o => o.MapFrom(m => m.FilterListMaintainers.Select(fl => fl.FilterList.Id)));
|
||||
o => o.MapFrom(m => m.FilterListMaintainers.Select(flm => flm.FilterListId)));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue