mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-10 21:47:02 +03:00
Fix missing semicolon
This commit is contained in:
@@ -197,7 +197,7 @@ function setupRoutes(router: Router) {
|
|||||||
|
|
||||||
router.get("/api/lockReason", getLockReason);
|
router.get("/api/lockReason", getLockReason);
|
||||||
|
|
||||||
router.post("/api/feature", addFeature)
|
router.post("/api/feature", addFeature);
|
||||||
|
|
||||||
// ratings
|
// ratings
|
||||||
router.get("/api/ratings/rate/:prefix", getRating);
|
router.get("/api/ratings/rate/:prefix", getRating);
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ const allowedFeatures = {
|
|||||||
Feature.ChapterSubmitter,
|
Feature.ChapterSubmitter,
|
||||||
Feature.FillerSubmitter
|
Feature.FillerSubmitter
|
||||||
]
|
]
|
||||||
}
|
};
|
||||||
|
|
||||||
export async function addFeature(req: AddFeatureRequest, res: Response): Promise<Response> {
|
export async function addFeature(req: AddFeatureRequest, res: Response): Promise<Response> {
|
||||||
const { body: { userID, adminUserID } } = req;
|
const { body: { userID, adminUserID } } = req;
|
||||||
|
|||||||
Reference in New Issue
Block a user