mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Add Paramerts to TransactionList API Call
This commit is contained in:
parent
c6653285c5
commit
59161e7ad2
@ -35,8 +35,10 @@ const communityAPI = {
|
|||||||
balance: async (session_id) => {
|
balance: async (session_id) => {
|
||||||
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, firstPage = 1, items = 25, order = 'DESC') => {
|
||||||
return apiGet(CONFIG.COMMUNITY_API_URL + 'listTransactions/1/25/ASC/' + session_id)
|
return apiGet(
|
||||||
|
`${CONFIG.COMMUNITY_API_URL}listTransactions/${firstPage}/${items}/${order}/${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 = {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user