Fixing bootstrapped notification to show proper version
This commit is contained in:
parent
7307cad350
commit
64c4354e5e
1 changed files with 2 additions and 2 deletions
|
|
@ -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',
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue