mirror of
https://github.com/Expand-sys/ccashfrontend
synced 2025-12-18 07:32:14 +11:00
test2
This commit is contained in:
parent
c0c9db613c
commit
764c213fe6
1 changed files with 1 additions and 2 deletions
3
index.js
3
index.js
|
|
@ -102,7 +102,6 @@ app.post('/setup', async function(req, res){
|
|||
res.redirect('/')
|
||||
})
|
||||
app.get('/', async function(req, res){
|
||||
console.log(thingy)
|
||||
if(setup==false){
|
||||
res.render('setup')
|
||||
}else{
|
||||
|
|
@ -144,7 +143,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)
|
||||
console.log(balance.timings)
|
||||
balance = JSON.parse(balance.body)
|
||||
} catch(err){
|
||||
console.log(err)
|
||||
|
|
|
|||
Loading…
Reference in a new issue