lib/models/file.js
Function FileModelFactory
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function FileModelFactory (Model, configuration) {
return Model.extend({
connection: configuration.get('databaseType', 'mongo'),
identity: 'files',
tableName: 'files',