aboutsummaryrefslogtreecommitdiffstats
path: root/backend/src/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'backend/src/index.ts')
-rw-r--r--backend/src/index.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/backend/src/index.ts b/backend/src/index.ts
index 9511f28..e9de8b4 100644
--- a/backend/src/index.ts
+++ b/backend/src/index.ts
@@ -66,6 +66,7 @@ app.get('/api/scores/:chartId', requireAuth, scoreRoutes.handleGetScoresByChartI
app.get('/api/allScores', requireAuth, scoreRoutes.handleGetAllGameScores);
app.post('/api/admin/createGame', requireAuth, adminRoutes.handleCreateGame);
+app.delete('/api/admin/user/:userId', requireAuth, adminRoutes.handleDeleteUser);
app.listen(port, () => {
console.log(`Server listening on port ${port}`);
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage