mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2026-02-18 04:34:21 +01:00
Avoid crash when some plugins are installed (#4725)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user