Мелкая поправка

This commit is contained in:
Book Pauk
2019-01-02 19:14:52 +07:00
parent e11c453ab9
commit 9551581f19

View File

@@ -8,7 +8,7 @@ function initRoutes(app, connPool, config) {
['POST', '/api/config', misc, 'getConfig', {}],
];
for (route of routes) {
for (let route of routes) {
const [httpMethod, path, controller, handler, options] = route;
const callback = async function(req, res) {