Permalink
Browse files

fix(repository): retrieved single entitiy marked clean

  • Loading branch information...
doktordirk committed Jan 25, 2016
1 parent 9566919 commit be0b5d131c59a6e346993c5e058cae34a990fa63
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/repository.js
@@ -100,7 +100,7 @@ export class Repository {
.then(x => this.populateEntities(x))
.then(populated => {
if (!Array.isArray(populated)) {
return populated;
return populated.markClean();
}
populated.forEach(entity => entity.markClean());

0 comments on commit be0b5d1

Please sign in to comment.