From b9354e44ae1a3bf18f2c740025c3cf221d0cd854 Mon Sep 17 00:00:00 2001 From: Ajay Date: Thu, 28 Jul 2022 13:10:21 -0400 Subject: [PATCH] Fix missing semicolon --- src/app.ts | 2 +- src/routes/addFeature.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app.ts b/src/app.ts index 1aa7739..05c0e1f 100644 --- a/src/app.ts +++ b/src/app.ts @@ -197,7 +197,7 @@ function setupRoutes(router: Router) { router.get("/api/lockReason", getLockReason); - router.post("/api/feature", addFeature) + router.post("/api/feature", addFeature); // ratings router.get("/api/ratings/rate/:prefix", getRating); diff --git a/src/routes/addFeature.ts b/src/routes/addFeature.ts index d7aeaff..9994ff3 100644 --- a/src/routes/addFeature.ts +++ b/src/routes/addFeature.ts @@ -25,7 +25,7 @@ const allowedFeatures = { Feature.ChapterSubmitter, Feature.FillerSubmitter ] -} +}; export async function addFeature(req: AddFeatureRequest, res: Response): Promise { const { body: { userID, adminUserID } } = req;