Skip to content

Commit 78c4054

Browse files
committed
refactor: Finalizing version_router
1 parent 63c9dc4 commit 78c4054

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

core/database/foxx/api/version_router.js.in

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ module.exports = router;
1717
router.get('/version', function(req, res) {
1818
try {
1919
logger.logRequestStarted({
20-
client: client,
20+
client: "anonymous",
2121
correlationId: req.headers["x-correlation-id"],
2222
httpVerb: "GET",
2323
routePath: basePath + "/version",
@@ -38,7 +38,7 @@ router.get('/version', function(req, res) {
3838
"component_patch": @DATAFED_FOXX_PATCH@
3939
});
4040
logger.logRequestSuccess({
41-
client: client,
41+
client: "anonymous",
4242
correlationId: req.headers["x-correlation-id"],
4343
httpVerb: "GET",
4444
routePath: basePath + "/version",
@@ -48,7 +48,7 @@ router.get('/version', function(req, res) {
4848
});
4949
} catch (e) {
5050
logger.logRequestFailure({
51-
client: client,
51+
client: "anonymous",
5252
correlationId: req.headers["x-correlation-id"],
5353
httpVerb: "GET",
5454
routePath: basePath + "/version",

0 commit comments

Comments
 (0)