[Persistence] Address refactoring error
...caught by unit tests
This commit is contained in:
@@ -116,7 +116,7 @@ define(
|
|||||||
* @returns {number} size of the active transaction
|
* @returns {number} size of the active transaction
|
||||||
*/
|
*/
|
||||||
TransactionService.prototype.size = function () {
|
TransactionService.prototype.size = function () {
|
||||||
return this.isActive() ? this.activeTransaction.size() : 0;
|
return this.isActive() ? this.activeTransaction().size() : 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
return TransactionService;
|
return TransactionService;
|
||||||
|
|||||||
Reference in New Issue
Block a user