mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 14:22:40 +01:00
Avoid crash when some plugins are installed (#4725)
This commit is contained in:
parent
0566e964c0
commit
fdc47e4a38
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue