mirror of
https://github.com/C9Glax/tranga.git
synced 2025-06-18 09:17:52 +02:00
[postgres-Server-V2] feat: Convert chapterNumeber to string
This commit is contained in:
@ -7,6 +7,6 @@ namespace API.Schema;
|
||||
public class Author(string authorName)
|
||||
{
|
||||
[MaxLength(64)]
|
||||
public string AuthorId { get; init; } = TokenGen.CreateToken(typeof(Author), 64);
|
||||
public string AuthorId { get; init; } = TokenGen.CreateToken(typeof(Author), authorName);
|
||||
public string AuthorName { get; init; } = authorName;
|
||||
}
|
Reference in New Issue
Block a user