[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

@ -7,7 +7,7 @@ namespace API.Schema;
public class Notification(string title, string message = "", NotificationUrgency urgency = NotificationUrgency.Normal, DateTime? date = null)
{
[MaxLength(64)]
public string NotificationId { get; init; } = TokenGen.CreateToken("Notification", "");
public string NotificationId { get; init; } = TokenGen.CreateToken("Notification");
public NotificationUrgency Urgency { get; init; } = urgency;