smaller refactorings continued

This commit is contained in:
azivner
2018-04-01 11:42:12 -04:00
parent fad0ec757b
commit acc82f39c4
13 changed files with 96 additions and 100 deletions

View File

@@ -4,7 +4,7 @@ const utils = require('../services/utils');
const repository = require('../services/repository');
class Entity {
constructor(row) {
constructor(row = {}) {
utils.assertArguments(row);
for (const key in row) {