mirror of
https://github.com/strapi/strapi.git
synced 2025-11-09 14:51:29 +00:00
remove duplicate route
This commit is contained in:
parent
dade723eb8
commit
5a914f1b29
@ -1,14 +1,6 @@
|
|||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
module.exports = [
|
module.exports = [
|
||||||
{
|
|
||||||
method: 'POST',
|
|
||||||
path: '/users/batch-delete',
|
|
||||||
handler: 'user.deleteMany',
|
|
||||||
config: {
|
|
||||||
policies: [{ name: 'admin::hasPermissions', config: { actions: ['admin::users.delete'] } }],
|
|
||||||
},
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
method: 'GET',
|
method: 'GET',
|
||||||
path: '/roles/:id/permissions',
|
path: '/roles/:id/permissions',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user