Removed labs gating from bulk action endpoint

no-issue

This allows the new filtering feature to perform bulk actions without
using the labs flag.
This commit is contained in:
Fabien O'Carroll 2021-10-01 14:17:52 +02:00
parent 7a7d037176
commit da76a6ebf9
2 changed files with 1 additions and 2 deletions

View File

@ -98,7 +98,7 @@ module.exports = function apiRoutes() {
router.get('/members', mw.authAdminApi, http(api.members.browse));
router.post('/members', mw.authAdminApi, http(api.members.add));
router.del('/members', mw.authAdminApi, http(api.members.bulkDestroy));
router.put('/members/bulk', labs.enabledMiddleware('membersFiltering'), mw.authAdminApi, http(api.members.bulkEdit));
router.put('/members/bulk', mw.authAdminApi, http(api.members.bulkEdit));
router.get('/members/stats/count', mw.authAdminApi, http(api.members.memberStats));
router.get('/members/stats/mrr', mw.authAdminApi, http(api.members.mrrStats));

View File

@ -24,7 +24,6 @@ const BETA_FEATURES = [
const ALPHA_FEATURES = [
'oauthLogin',
'membersFiltering',
'emailOnlyPosts',
'customThemeSettings',
'membersActivity',