Fixing bootstrapped notification to show proper version

This commit is contained in:
collin 2026-04-30 22:10:00 +02:00
parent 7307cad350
commit 64c4354e5e

View file

@ -62,9 +62,9 @@ export class NtfyProvider implements OnApplicationBootstrap {
async sendBootstrappedNotification() { async sendBootstrappedNotification() {
const version = const version =
this.configService.get<string>('GIT_COMMIT') ?? this.configService.get<string>('GIT_COMMIT') ??
this.configService.get('LOCAL') === 'true' (this.configService.get('LOCAL') === 'true'
? 'LOCAL' ? 'LOCAL'
: 'unknown' : 'unknown')
await this.publishQueue.add( await this.publishQueue.add(
...NtfyProvider.defaultJob({ ...NtfyProvider.defaultJob({
title: 'Autobaan up and running', title: 'Autobaan up and running',