Fix missing semicolon

This commit is contained in:
Ajay 2022-07-28 13:10:21 -04:00
parent 17a790b6d9
commit b9354e44ae
2 changed files with 2 additions and 2 deletions

View file

@ -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);

View file

@ -25,7 +25,7 @@ const allowedFeatures = {
Feature.ChapterSubmitter,
Feature.FillerSubmitter
]
}
};
export async function addFeature(req: AddFeatureRequest, res: Response): Promise<Response> {
const { body: { userID, adminUserID } } = req;