fixing wrong var name

This commit is contained in:
einhorn_b 2021-04-22 16:56:05 +02:00
parent 33f9c58268
commit 0c68dbde9d

View File

@ -36,7 +36,7 @@ const communityAPI = {
return apiGet(CONFIG.COMMUNITY_API_URL + 'getBalance/' + session_id) return apiGet(CONFIG.COMMUNITY_API_URL + 'getBalance/' + session_id)
}, },
transactions: async (session_id) => { transactions: async (session_id) => {
return apiGet(CONFIG.COMMUNITY_API__URL + 'listTransactions/1/25/ASC/' + session_id) return apiGet(CONFIG.COMMUNITY_API_URL + 'listTransactions/1/25/ASC/' + session_id)
}, },
/*create: async (session_id, email, amount, memo, target_date = new Date() ) => { /*create: async (session_id, email, amount, memo, target_date = new Date() ) => {
const payload = { const payload = {
@ -57,7 +57,7 @@ const communityAPI = {
memo, memo,
auto_sign: true, auto_sign: true,
} }
return apiPost(CONFIG.COMMUNITY_API__URL + 'sendCoins/', payload) return apiPost(CONFIG.COMMUNITY_API_URL + 'sendCoins/', payload)
}, },
} }