From e7c1a878ff71a4b6d4cb5e575d0be6f5ec36ccee Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Tue, 30 Jan 2024 01:23:36 +0100 Subject: [PATCH] fix: use const --- src/server/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/utils.js b/src/server/utils.js index fb1cbc1..4c65b8f 100644 --- a/src/server/utils.js +++ b/src/server/utils.js @@ -82,7 +82,7 @@ export function encodeZBase32 (data) { } export function getMetaFromReq (req) { - let versionDetails = (req.app.get('git_hash')) + const versionDetails = (req.app.get('git_hash')) ? `+${req.app.get('git_hash').substring(0, 10)}` : ''