Fixed lint errors that I didn't put semi-colons

This commit is contained in:
ByoungYong Kim 2018-10-09 11:23:25 +02:00
parent 94aa36bd20
commit f683da78ec

View File

@ -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;