api/services/user/timesavingaccounts/list.js
Function exports
has 85 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
exports = module.exports = function(services, app) {
var service = new services.list(app);
const dispunits = app.utility.dispunits;
Function getRenewals
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function getRenewals(accountId)
{
var async = require('async');
var results = [], savingPeriod;