Skip to content
This repository was archived by the owner on Nov 10, 2021. It is now read-only.

Commit 615f695

Browse files
committed
Sorry about the mess
1 parent e85b886 commit 615f695

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

index.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -232,13 +232,12 @@ app.get('/random', async (req, res) => {
232232
const get_tz = async(tz, res) => {
233233
// list of restricted addresses
234234
var list = await getRestrictedAddresses()
235-
236235
res.set('Cache-Control', `public, max-age=120`)
237-
list.includes(req.body.tz)
236+
list.includes(tz)
238237
?
239238
res.json({ result: [] })
240239
:
241-
await getTzLedger(req.body.tz, res)
240+
await getTzLedger(tz, res)
242241
}
243242

244243
app.post('/tz', async (req, res) => {

0 commit comments

Comments
 (0)