Merge branch 'main' of vulpine.solutions:sam/Foxnouns.NET

This commit is contained in:
sam 2024-09-03 16:31:02 +02:00
commit 4a6b5f3b85
Signed by: sam
GPG key ID: B4EF20DDE721CAA1
7 changed files with 29 additions and 12 deletions

View file

@ -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,