aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2021-12-30 16:23:21 -0600
committermat <github@matdoes.dev>2021-12-30 16:23:21 -0600
commit2d4168ed9ca0b467c1f4b2208e9c4ed05f98107d (patch)
treeaff8583cf5937907bcf682ed6873d48920ec662f /src
parent12cdbf6ab76afc2f6910908c1383aa094a9848ec (diff)
downloadskyblock-api-2d4168ed9ca0b467c1f4b2208e9c4ed05f98107d.tar.gz
skyblock-api-2d4168ed9ca0b467c1f4b2208e9c4ed05f98107d.tar.bz2
skyblock-api-2d4168ed9ca0b467c1f4b2208e9c4ed05f98107d.zip
fix index
Diffstat (limited to 'src')
-rw-r--r--src/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index.ts b/src/index.ts
index 3924c60..2612647 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -53,7 +53,7 @@ app.get('/', async (req, res) => {
}
if (req.headers.key === process.env.key)
data.key = getKeyUsage()
- res.json()
+ res.json(data)
})
app.get('/player/:user', async (req, res) => {