mirror of
https://github.com/strapi/strapi.git
synced 2025-11-03 03:17:11 +00:00
Fix format permission handler argument
This commit is contained in:
parent
80713eddff
commit
43e360a641
@ -29,7 +29,7 @@ module.exports = params => {
|
||||
/**
|
||||
* Remove invalid properties from the permission based on the action (applyToProperties)
|
||||
*/
|
||||
.on('format.permission', ({ permission }) => {
|
||||
.on('format.permission', permission => {
|
||||
const action = providers.action.get(permission.action);
|
||||
const properties = permission.properties || {};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user