use alternative uri validation

This commit is contained in:
Andrew Camilleri
2018-05-14 09:32:04 +02:00
parent 0ba1072d54
commit bcd79c5882
5 changed files with 48 additions and 5 deletions

View File

@@ -4,6 +4,7 @@ using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using BTCPayServer.Validation;
namespace BTCPayServer.Models.InvoicingModels
{
@@ -52,8 +53,7 @@ namespace BTCPayServer.Models.InvoicingModels
get; set;
}
[Url]
[Uri]
public string NotificationUrl
{
get; set;