fix: use const

This commit is contained in:
Yarmo Mackenbach 2024-01-30 01:23:36 +01:00
parent ed4c265dad
commit e7c1a878ff
No known key found for this signature in database
GPG key ID: C248C28D432560ED

View file

@ -82,7 +82,7 @@ export function encodeZBase32 (data) {
} }
export function getMetaFromReq (req) { 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)}` ? `+${req.app.get('git_hash').substring(0, 10)}`
: '' : ''