diff --git a/BTCPayServer/Filters/XFrameOptionsAttribute.cs b/BTCPayServer/Filters/XFrameOptionsAttribute.cs index e9c7442c6..959cb5eed 100644 --- a/BTCPayServer/Filters/XFrameOptionsAttribute.cs +++ b/BTCPayServer/Filters/XFrameOptionsAttribute.cs @@ -10,6 +10,12 @@ namespace BTCPayServer.Filters Value = value; } + [Obsolete("Do not use second parameter ignored")] + public XFrameOptionsAttribute(XFrameOptions type, string _ = null) : this(type) + { + + } + public XFrameOptionsAttribute(XFrameOptions type) { Value = type switch