mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-19 18:11:36 +01:00
14 lines
348 B
C#
14 lines
348 B
C#
#nullable enable
|
|
using BTCPayServer.Services.Invoices;
|
|
using Newtonsoft.Json.Linq;
|
|
|
|
namespace BTCPayServer.Data;
|
|
|
|
public static class CustodianAccountDataExtensions
|
|
{
|
|
public static JObject GetBlob(this CustodianAccountData custodianAccountData)
|
|
{
|
|
return ((IHasBlob<JObject>)custodianAccountData).GetBlob() ?? new JObject();
|
|
}
|
|
}
|