added foldernames to inherited folder calls
This commit is contained in:
parent
7d4309f3af
commit
cc234cad97
|
@ -113,7 +113,7 @@ public class Controller : ControllerBase
|
|||
.Ancestors()
|
||||
.SelectMany(f => f.UsersWithDirectAccess()
|
||||
.Where(u => u.IsDescendantOf(user))
|
||||
.Select(u => new { folderId = f.Id, user = u }))
|
||||
.Select(u => new { folderId = f.Id, folderName = f.Name, user = u }))
|
||||
.ToList();
|
||||
}
|
||||
|
||||
|
@ -151,7 +151,7 @@ public class Controller : ControllerBase
|
|||
.Ancestors()
|
||||
.SelectMany(f => f.UsersWithDirectAccess()
|
||||
.Where(u => u.IsDescendantOf(user))
|
||||
.Select(u => new { folderId = f.Id, user = u }))
|
||||
.Select(u => new { folderId = f.Id, folderName = f.Name, user = u }))
|
||||
.ToList();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue