[postgres-Server-V2] Add parameter array to token gen

This commit is contained in:
Alessandro Benetton
2025-01-31 21:24:35 +01:00
parent a713a006dd
commit d6018b60ae
11 changed files with 15 additions and 15 deletions

View File

@ -8,7 +8,7 @@ namespace API.Schema;
public class MangaAltTitle(string language, string title)
{
[MaxLength(64)]
public string AltTitleId { get; init; } = TokenGen.CreateToken("AltTitle", string.Join(language, title));
public string AltTitleId { get; init; } = TokenGen.CreateToken("AltTitle", language, title);
[MaxLength(8)]
public string Language { get; init; } = language;
public string Title { get; set; } = title;