fix: don't new up user for user prop
This commit is contained in:
@@ -5,7 +5,7 @@ public sealed class RefreshToken : Entity
|
||||
public string Token { get; init; } = string.Empty;
|
||||
public DateTimeOffset ExpiresAt { get; init; }
|
||||
public Guid UserId { get; init; }
|
||||
public User User { get; init; } = User.New();
|
||||
public User User { get; init; } = null!;
|
||||
|
||||
private RefreshToken()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user