From e397bf3b3b3b177a781ab1626f71b4257962e2eb Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Sun, 11 Mar 2018 10:49:18 -0700 Subject: [PATCH] lint fix --- routes/_database/timelines.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/routes/_database/timelines.js b/routes/_database/timelines.js index ae2a5e66..3d72e316 100644 --- a/routes/_database/timelines.js +++ b/routes/_database/timelines.js @@ -97,7 +97,8 @@ async function getStatusThread (instanceName, statusId) { } else { // thread not cached; just make a "fake" thread with only one status in it fetchStatus(statusesStore, accountsStore, statusId, status => { - callback([status]) + let res = [status] + callback(res) }) } }