dockerproxy: fix typo

This commit is contained in:
Girish Ramakrishnan
2023-11-04 13:28:02 +01:00
parent 7f9e5303be
commit 8e468788a9

View File

@@ -31,7 +31,7 @@ async function authorizeApp(req, res, next) {
const [error, app] = await safe(apps.getByIpAddress(req.connection.remoteAddress));
if (error) return next(new HttpError(500, error));
if (!app) return next(new HttpError(401, 'Unauthorized'));
if (app.manifest.addons?.docker) return next(new HttpError(401, 'Unauthorized'));
if (!app.manifest.addons?.docker) return next(new HttpError(401, 'Unauthorized'));
req.app = app;