This commit is contained in:
Kim 2023-03-23 15:46:19 +01:00
parent c2d10b63d2
commit 50036daa78
1 changed files with 3 additions and 2 deletions

View File

@ -180,7 +180,7 @@ public class Controller : ControllerBase
return user.ChildUsers().ToList();
}
[HttpGet(nameof(GetAllChildUsers))]
public ActionResult<IEnumerable<User>> GetAllChildUsers(Token authToken)
{
@ -189,8 +189,9 @@ public class Controller : ControllerBase
return Unauthorized();
return user.DescendantUsers().ToList();
}
[HttpGet(nameof(GetAllInstallations))]
public ActionResult<IEnumerable<Installation>> GetAllInstallations(Token authToken)
{