fixed problem with empty student list for therapists

parent e78e0533
Showing with 3 additions and 1 deletions
...@@ -275,7 +275,9 @@ module.exports = { ...@@ -275,7 +275,9 @@ module.exports = {
.catch(function (err) { .catch(function (err) {
callback(err, l); callback(err, l);
}); });
} } else {
callback(err, l);
}
}); // end async.eachSeries }); // end async.eachSeries
}) })
.catch((err) => { .catch((err) => {
......
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