From 8edef2f94d09bb61f59512d870acf82015fa4782 Mon Sep 17 00:00:00 2001 From: James Allen Date: Thu, 11 Jan 2018 14:11:44 +0000 Subject: [PATCH] Fix next -> callback --- services/web/app/coffee/Features/History/HistoryManager.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/web/app/coffee/Features/History/HistoryManager.coffee b/services/web/app/coffee/Features/History/HistoryManager.coffee index 85c16a9c92..bef9773a6b 100644 --- a/services/web/app/coffee/Features/History/HistoryManager.coffee +++ b/services/web/app/coffee/Features/History/HistoryManager.coffee @@ -60,7 +60,7 @@ module.exports = HistoryManager = user_ids.add user user_ids = Array.from(user_ids) UserGetter.getUsers user_ids, { first_name: 1, last_name: 1, email: 1 }, (error, users_array) -> - return next(error) if error? + return callback(error) if error? users = {} for user in users_array or [] users[user._id.toString()] = HistoryManager._userView(user)