Fix incompatibilities with bot client.
This commit is contained in:
parent
098883d088
commit
57501a6a87
@ -35,6 +35,7 @@ app.get('/song/:songname', (req, res) => {
|
|||||||
if (error) {
|
if (error) {
|
||||||
res.status(500).json(error.message)
|
res.status(500).json(error.message)
|
||||||
} else {
|
} else {
|
||||||
|
//console.log(req.params.songname+":"+JSON.stringify(results.rows));
|
||||||
res.status(200).json(results.rows)
|
res.status(200).json(results.rows)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user