mirror of
https://github.com/MAGICGrants/campaign-site.git
synced 2026-01-09 12:27:59 -05:00
Add counting of donations to static XMR address to api-helpers.ts
This commit is contained in:
@@ -86,7 +86,7 @@ export async function fetchGetJSONAuthedBTCPay(
|
||||
let totaldonationsinfiatxmr = 0
|
||||
let totaldonationsinfiatbtc = 0
|
||||
for(let i=0;i<data.length;i++){
|
||||
if (data[i].metadata.orderId != slug) {
|
||||
if (data[i].metadata.orderId != slug && data[i].metadata.orderId != `${slug}_STATIC`) {
|
||||
continue
|
||||
}
|
||||
const id = data[i].id
|
||||
|
||||
Reference in New Issue
Block a user