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() {
|
||||
const version =
|
||||
this.configService.get<string>('GIT_COMMIT') ??
|
||||
this.configService.get('LOCAL') === 'true'
|
||||
(this.configService.get('LOCAL') === 'true'
|
||||
? 'LOCAL'
|
||||
: 'unknown'
|
||||
: 'unknown')
|
||||
await this.publishQueue.add(
|
||||
...NtfyProvider.defaultJob({
|
||||
title: 'Autobaan up and running',
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue