Centralize common headers, this will help up to move biz metrics out of the process

This commit is contained in:
Daniel García Aubert
2020-06-04 17:45:15 +02:00
parent b2da00900f
commit adeffd2018
6 changed files with 162 additions and 34 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ module.exports = function user (metadataBackend) {
}
res.locals.userId = userId;
res.set('Carto-User-Id', `${userId}`);
return next();
});
};