return name with token for API; version bump

main
Ayush Mukherjee 4 years ago
parent 2d9a34f8bc
commit 4d89438955

@ -1,6 +1,6 @@
{ {
"name": "nuke", "name": "nuke",
"version": "1.0.0", "version": "1.1.9",
"description": "APL Esports' Nuke Server", "description": "APL Esports' Nuke Server",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {

@ -23,6 +23,7 @@ router.post('/', async (req, res) => {
push(id) push(id)
res.json({ res.json({
session: id, session: id,
name: r.data.entries[0].name,
}) })
} else { } else {
res.status(403).json({ res.status(403).json({

Loading…
Cancel
Save