Skip to content

Commit 41ab304

Browse files
authored
Update policies.md (#1930)
`plugins::` should be `plugin::`
1 parent 4feae11 commit 41ab304

File tree

1 file changed

+2
-2
lines changed
  • docusaurus/docs/dev-docs/backend-customization

1 file changed

+2
-2
lines changed

docusaurus/docs/dev-docs/backend-customization/policies.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ module.exports = {
205205
The `isAuthenticated` policy prodived with the `users-permissions` plugin
206206
is executed before the `find` action in the `Restaurant.js` controller.
207207
*/
208-
policies: ['plugins::users-permissions.isAuthenticated']
208+
policies: ['plugin::users-permissions.isAuthenticated']
209209
}
210210
}
211211
]
@@ -229,7 +229,7 @@ export default {
229229
The `isAuthenticated` policy prodived with the `users-permissions` plugin
230230
is executed before the `find` action in the `Restaurant.js` controller.
231231
*/
232-
policies: ['plugins::users-permissions.isAuthenticated']
232+
policies: ['plugin::users-permissions.isAuthenticated']
233233
}
234234
}
235235
]

0 commit comments

Comments
 (0)