Merge branch 'develop' into features/media-lib

This commit is contained in:
Alexandre Bodin 2020-03-23 17:28:21 +01:00
commit 72440af84b

View File

@ -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');
}