fixed problem with empty student list for therapists

parent e78e0533
Showing with 2 additions and 0 deletions
...@@ -275,6 +275,8 @@ module.exports = { ...@@ -275,6 +275,8 @@ module.exports = {
.catch(function (err) { .catch(function (err) {
callback(err, l); callback(err, l);
}); });
} else {
callback(err, l);
} }
}); // end async.eachSeries }); // end async.eachSeries
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment