mirror of
https://github.com/C9Glax/tranga.git
synced 2025-06-18 09:17:52 +02:00
[postgres-Server-V2] Add parameter array to token gen
This commit is contained in:
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user