mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 14:34:23 +01:00
FGreenField: Add DefaultPaymentMethod to Stores API (#2171)
This commit is contained in:
@@ -36,7 +36,7 @@ namespace BTCPayServer.Data
|
||||
|
||||
public static void SetDefaultPaymentId(this StoreData storeData, PaymentMethodId defaultPaymentId)
|
||||
{
|
||||
storeData.DefaultCrypto = defaultPaymentId.ToString();
|
||||
storeData.DefaultCrypto = defaultPaymentId?.ToString();
|
||||
}
|
||||
#pragma warning restore CS0618
|
||||
|
||||
|
||||
Reference in New Issue
Block a user