From 340ccb24980c8e287e26734257333aa23fd1dfd4 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Wed, 21 Jul 2021 17:08:51 -0400 Subject: [PATCH] style: lint fix --- src/controllers/mods.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/mods.js b/src/controllers/mods.js index 7980bd90fb..be875eda76 100644 --- a/src/controllers/mods.js +++ b/src/controllers/mods.js @@ -13,7 +13,7 @@ const helpers = require('./helpers'); const modsController = module.exports; modsController.flags = {}; -modsController.flags.list = async function (req, res, next) { +modsController.flags.list = async function (req, res) { const validFilters = ['assignee', 'state', 'reporterId', 'type', 'targetUid', 'cid', 'quick', 'page', 'perPage']; const validSorts = ['newest', 'oldest', 'reports', 'upvotes', 'downvotes', 'replies'];