mirror of
https://github.com/C9Glax/tranga.git
synced 2025-06-18 09:17:52 +02:00
Fix Arrays shall not be added to context
This commit is contained in:
@ -9,11 +9,4 @@ public class Author(string authorName)
|
||||
[MaxLength(64)]
|
||||
public string AuthorId { get; init; } = TokenGen.CreateToken(typeof(Author), 64);
|
||||
public string AuthorName { get; init; } = authorName;
|
||||
|
||||
public override bool Equals(object? obj)
|
||||
{
|
||||
if (obj is not Author other)
|
||||
return false;
|
||||
return other.AuthorName == AuthorName;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user