mirror of
https://github.com/Expand-sys/ccashfrontend
synced 2025-12-17 07:12:12 +11:00
test again
This commit is contained in:
parent
35ad2dd78d
commit
c0c9db613c
1 changed files with 1 additions and 0 deletions
1
index.js
1
index.js
|
|
@ -144,6 +144,7 @@ app.get('/BankF', ensureAuthenticated, async function(req, res){
|
|||
let balance = 0
|
||||
try{
|
||||
balance = await got(process.env.BANKAPIURL+'BankF/'+req.session.user+'/bal')
|
||||
console.log(balance)
|
||||
balance = JSON.parse(balance.body)
|
||||
} catch(err){
|
||||
console.log(err)
|
||||
|
|
|
|||
Loading…
Reference in a new issue