mirror of
https://github.com/C9Glax/tranga.git
synced 2025-06-13 23:07:53 +02:00
Fix MaxURL length in db (2048)
This commit is contained in:
@ -13,7 +13,7 @@ public class NotificationConnector(string name, string url, Dictionary<string, s
|
||||
[Required]
|
||||
public string Name { get; init; } = name;
|
||||
|
||||
[StringLength(256)]
|
||||
[StringLength(2048)]
|
||||
[Required]
|
||||
[Url]
|
||||
public string Url { get; internal set; } = url;
|
||||
@ -25,7 +25,7 @@ public class NotificationConnector(string name, string url, Dictionary<string, s
|
||||
[Required]
|
||||
public string HttpMethod { get; internal set; } = httpMethod;
|
||||
|
||||
[StringLength(512)]
|
||||
[StringLength(4096)]
|
||||
[Required]
|
||||
public string Body { get; internal set; } = body;
|
||||
|
||||
|
Reference in New Issue
Block a user