From 4d89438955301ad5f84b37e48c39ad4f1e779a1c Mon Sep 17 00:00:00 2001 From: Ayush Mukherjee Date: Sat, 20 Mar 2021 11:33:34 +0530 Subject: [PATCH] return name with token for API; version bump --- package.json | 2 +- src/api/index.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index f15fec3..2c530a4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nuke", - "version": "1.0.0", + "version": "1.1.9", "description": "APL Esports' Nuke Server", "main": "index.js", "scripts": { diff --git a/src/api/index.js b/src/api/index.js index d786458..68d8756 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -23,6 +23,7 @@ router.post('/', async (req, res) => { push(id) res.json({ session: id, + name: r.data.entries[0].name, }) } else { res.status(403).json({