[Persistence] Address refactoring error

...caught by unit tests
This commit is contained in:
Victor Woeltjen 2016-10-07 11:54:49 -07:00
parent 947b54555a
commit 0833674b91

View File

@ -116,7 +116,7 @@ define(
* @returns {number} size of the active transaction
*/
TransactionService.prototype.size = function () {
return this.isActive() ? this.activeTransaction.size() : 0;
return this.isActive() ? this.activeTransaction().size() : 0;
};
return TransactionService;