mirror of
https://github.com/strapi/strapi.git
synced 2025-12-26 22:54:31 +00:00
Merge branch 'develop' into features/media-lib
This commit is contained in:
commit
72440af84b
@ -19,7 +19,6 @@ module.exports = async (ctx, next) => {
|
||||
ctx.state.user = await strapi.query('user', 'users-permissions').findOne({ id }, ['role']);
|
||||
}
|
||||
} catch (err) {
|
||||
strapi.log.error(err);
|
||||
return handleErrors(ctx, err, 'unauthorized');
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user