Merge branch 'main' of vulpine.solutions:sam/Foxnouns.NET
This commit is contained in:
		
						commit
						4a6b5f3b85
					
				
					 7 changed files with 29 additions and 12 deletions
				
			
		| 
						 | 
				
			
			@ -23,11 +23,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