mirror of
https://github.com/strapi/strapi.git
synced 2025-12-27 07:03:38 +00:00
Fixed lint errors that I didn't put semi-colons
This commit is contained in:
parent
94aa36bd20
commit
f683da78ec
@ -104,8 +104,8 @@ module.exports = async cb => {
|
||||
});
|
||||
|
||||
// Don't display fields that are hidden by default like the resetPasswordToken for the model user
|
||||
_.unset(fields, fieldsToRemove)
|
||||
schemaModel.attributes = _.omit(schemaModel.attributes, fieldsToRemove)
|
||||
_.unset(fields, fieldsToRemove);
|
||||
schemaModel.attributes = _.omit(schemaModel.attributes, fieldsToRemove);
|
||||
|
||||
schemaModel.fields = fields;
|
||||
schemaModel.editDisplay.availableFields = fields;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user