refactor: debug api chequebook - cheques methods

This commit is contained in:
Vojtech Simetka
2021-04-02 11:21:04 +02:00
parent d2708738ce
commit d9941038df
4 changed files with 17 additions and 26 deletions
+2 -2
View File
@@ -40,7 +40,7 @@ export default function Index(props: any) {
setIsLoadingPeerCashout(true)
beeDebugApi.chequebook.getPeerLastCashout(peerId)
.then(res => {
setPeerCashout(res.data)
setPeerCashout(res)
})
.catch(error => {
})
@@ -51,7 +51,7 @@ export default function Index(props: any) {
setIsLoadingPeerCheque(true)
beeDebugApi.chequebook.getPeerLastCheques(peerId)
.then(res => {
setPeerCheque(res.data)
setPeerCheque(res)
})
.catch(error => {
})