diff --git a/lib/apiserver/routers/smstools-config.js b/lib/apiserver/routers/smstools-config.js index 13950f7..e5e81b1 100644 --- a/lib/apiserver/routers/smstools-config.js +++ b/lib/apiserver/routers/smstools-config.js @@ -153,8 +153,8 @@ async function pageInstallConfig(req, res) { }); } -function pageQueuesAndProviders(req, res) { - res.end(queuesAndProviders.dump); +async function pageQueuesAndProviders(req, res) { + res.end(await queuesAndProviders.dump); } router.get('/', pageIndex);