From b30c13bad9418aa2f65acc2df85b6cc95bbcc191 Mon Sep 17 00:00:00 2001 From: mmcwilliams Date: Thu, 31 Oct 2019 02:21:21 -0400 Subject: [PATCH] Last boneheaded error of the night triple promise --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 6d52e6c..894568a 100644 --- a/index.js +++ b/index.js @@ -648,7 +648,7 @@ function bRestart (obj, cb) { }, 20) } -function index (req, res, next) { +async function index (req, res, next) { let data try {