fix: don't new up user for user prop
This commit is contained in:
1 parent
18bd510e75
commit
10b6034aca
1 file changed
+1
-1
@@ -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