From 2c030bb7577151000bfb55e38af44afd399ca9e5 Mon Sep 17 00:00:00 2001 From: Adhidarma Hadiwinoto <me@adhisimon.org> Date: Wed, 4 Dec 2019 14:35:54 +0700 Subject: [PATCH] fix missing async --- lib/apiserver/routers/smstools-config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/apiserver/routers/smstools-config.js b/lib/apiserver/routers/smstools-config.js index 2cee951..7451056 100644 --- a/lib/apiserver/routers/smstools-config.js +++ b/lib/apiserver/routers/smstools-config.js @@ -27,7 +27,7 @@ async function pageIndex(req, res) { }); } -function pageGenerate(req, res) { +async function pageGenerate(req, res) { res.end(await smstoolsConfigCreator()); } -- 1.9.0