fix loading public posts

This commit is contained in:
john 2025-05-21 13:52:12 +02:00
parent 3f1c6280ba
commit dc999fd7cc
3 changed files with 3 additions and 5 deletions

View file

@ -2,10 +2,8 @@ namespace Femto.Common;
public interface ICurrentUserContext
{
CurrentUser? tryGetUserCurrentUser();
bool HasUser { get; }
CurrentUser CurrentUser { get; }
CurrentUser? CurrentUser { get; }
}
public record CurrentUser(Guid Id, string Username, string SessionId);