From 11742db503f6c00b1f4cd4047d1c69b2a844a16a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Pokorn=C3=BD?= Date: Sun, 17 Sep 2017 17:35:22 +0200 Subject: [PATCH] Changed setImmediate from async library to node default. --- src/api/web/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/web/api.js b/src/api/web/api.js index b02d1c3b8..a464e8d97 100644 --- a/src/api/web/api.js +++ b/src/api/web/api.js @@ -45,7 +45,7 @@ module.exports = function(config, auth, storage) { packages, function(pkg, cb) { auth.allow_access(pkg.name, req.remote_user, function(err, allowed) { - async.setImmediate(function() { + setImmediate(function() { if (err) { cb(null, false); } else {