From 2e4cd3dc5fba3902b6a22ead0983084321334593 Mon Sep 17 00:00:00 2001 From: Abhishek Sinha Date: Fri, 10 Jul 2020 13:38:16 +0530 Subject: [PATCH] fixed pay_thru_cashier to pay_as_cashier function calling error --- index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index 85a6882..99dd9e4 100644 --- a/index.html +++ b/index.html @@ -745,7 +745,7 @@ //for cloud apps subAdmins: [], - application: "RUPEE_TOKEN_APP_TEST7",//rupeeTokenApp + application: "RUPEE_TOKEN_APP_TEST8",//rupeeTokenApp vectorClock: {}, appObjects: {}, generalData: {}, @@ -1301,7 +1301,7 @@ if (e.target.closest('.confirm-pay-btn')) if (await confirmation('Confirm this pay request?')) { let payRequest = e.target.closest('.request'), - status = await pay_through_cashier(payRequest.dataset.sender, payRequest.dataset.receiverFloId, payRequest.dataset.txid, payRequest.dataset.amount) + status = await pay_as_cashier(payRequest.dataset.sender, payRequest.dataset.receiverFloId, payRequest.dataset.txid, payRequest.dataset.amount) if (status) { refresh_balance() payRequest.remove() @@ -11343,7 +11343,6 @@ try { const send_tokens_btn = document.getElementById('send_tokens_btn'); send_tokens_btn.onclick = async function () { - console.log('hi') const token_sender = myFloID; const token_receiver = document.getElementById('token_receiver').value; const token_amount = Number(document.getElementById('token_amount').value); @@ -11376,6 +11375,7 @@ } } } catch (error) { + notify(error, 'error', 'fixed', true); throw new Error(error); } }