start user pages
This commit is contained in:
parent
ef221b2c45
commit
2915893049
7 changed files with 29 additions and 12 deletions
|
@ -21,11 +21,6 @@ public class UsersController(
|
|||
public async Task<IActionResult> GetUserAsync(string userRef)
|
||||
{
|
||||
var user = await db.ResolveUserAsync(userRef, CurrentToken);
|
||||
return await GetUserInnerAsync(user);
|
||||
}
|
||||
|
||||
private async Task<IActionResult> GetUserInnerAsync(User user)
|
||||
{
|
||||
return Ok(await userRendererService.RenderUserAsync(
|
||||
user,
|
||||
selfUser: CurrentUser,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue