mirror of
https://github.com/MAGICGrants/campaign-site.git
synced 2026-01-09 12:27:59 -05:00
Merge pull request #134 from MAGICGrants/btcpay-payment-methods-fix
fix: use correct btcpay payment methods in /api/funding-required
This commit is contained in:
@@ -143,11 +143,11 @@ async function handle(
|
||||
)
|
||||
|
||||
paymentMethods.forEach((paymentMethod) => {
|
||||
if (paymentMethod.paymentMethod === 'BTC') {
|
||||
if (paymentMethod.paymentMethod === 'BTC-CHAIN') {
|
||||
bitcoinAddress = paymentMethod.destination
|
||||
}
|
||||
|
||||
if (paymentMethod.paymentMethod === 'XMR') {
|
||||
if (paymentMethod.paymentMethod === 'XMR-CHAIN') {
|
||||
moneroAddress = paymentMethod.destination
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user