Skip to content

Commit

Permalink
fix: display release version in status endpoint (#131)
Browse files Browse the repository at this point in the history
  • Loading branch information
marianogoldman authored Aug 26, 2024
1 parent da7db6b commit 0b2aa60
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions consumer-server/src/controllers/handlers/status-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,7 @@ export async function statusHandler(
): Promise<IHttpServerComponent.IResponse> {
const { config } = context.components

const [commitHash, version] = await Promise.all([
config.getString('COMMIT_HASH'),
config.getString('CURRENT_VERSION')
])
const [commitHash, version] = await Promise.all([config.getString('COMMIT_HASH'), config.getString('VERSION_TAG')])

const status: StatusResponse = {
commitHash: commitHash || 'unknown',
Expand Down

0 comments on commit 0b2aa60

Please sign in to comment.