From 63bc8f75b93e530049ceeb4aa56ad2565dbd2359 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Garc=C3=ADa=20Aubert?= Date: Thu, 4 Jun 2020 18:43:21 +0200 Subject: [PATCH] Typo --- lib/utils/common-headers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils/common-headers.js b/lib/utils/common-headers.js index a0d20765..5355d452 100644 --- a/lib/utils/common-headers.js +++ b/lib/utils/common-headers.js @@ -3,7 +3,7 @@ module.exports = function setCommonHeaders (req, res, callback) { const { logger } = res.locals; - res.set('X-Request-Id', logger.bindings.id); + res.set('X-Request-Id', logger.bindings().id); // TODO: x-layergroupid header??