Commit 69850c91423f4014a6c7e43f1f6187cb9745602b

Authored by Adhidarma Hadiwinoto
1 parent 05f433c05a
Exists in master

/smstools-config/queues-and-providers return json

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

lib/apiserver/routers/smstools-config.js
... ... @@ -154,7 +154,7 @@ async function pageInstallConfig(req, res) {
154 154 }
155 155  
156 156 async function pageQueuesAndProviders(req, res) {
157   - res.end(await queuesAndProviders.dump());
  157 + res.json(smstoolsConfigData.queues);
158 158 }
159 159  
160 160 function pageModemQueueName(req, res) {