mirror of
https://github.com/strapi/strapi.git
synced 2025-12-27 23:24:03 +00:00
fix bad doc
Signed-off-by: Pierre Noël <petersg83@gmail.com>
This commit is contained in:
parent
5a4e6c0cf5
commit
f9df191157
@ -19,7 +19,7 @@ const findOne = (params = {}) => {
|
||||
/**
|
||||
* Find roles in database
|
||||
* @param params query params to find the roles
|
||||
* @returns {Promise<role>}
|
||||
* @returns {Promise<array>}
|
||||
*/
|
||||
const find = (params = {}) => {
|
||||
return strapi.query('role', 'admin').find(params);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user