diff --git a/apps/twitch-viewer-service/src/app/version/version.module.ts b/apps/twitch-viewer-service/src/app/version/version.module.ts index 30f663fb..d0e11624 100644 --- a/apps/twitch-viewer-service/src/app/version/version.module.ts +++ b/apps/twitch-viewer-service/src/app/version/version.module.ts @@ -4,16 +4,16 @@ import { VersionService } from './version.service'; import { ConfigService } from '@nestjs/config'; @Module({ - controllers: [VersionController], - providers: [ - VersionService, - { - provide: 'APP_VERSION', - useFactory: (config: ConfigService) => { - return config.get('APP_VERSION', 'local'); - }, - inject: [ConfigService], - }, - ], + controllers: [VersionController], + providers: [ + VersionService, + { + provide: 'APP_VERSION', + useFactory: (config: ConfigService) => { + return config.get('APP_VERSION', 'local'); + }, + inject: [ConfigService], + }, + ], }) export class VersionModule {} diff --git a/apps/twitch-viewer-service/src/app/version/version.service.ts b/apps/twitch-viewer-service/src/app/version/version.service.ts index 2c576747..f20a6b13 100644 --- a/apps/twitch-viewer-service/src/app/version/version.service.ts +++ b/apps/twitch-viewer-service/src/app/version/version.service.ts @@ -2,9 +2,9 @@ import { Inject, Injectable } from '@nestjs/common'; @Injectable() export class VersionService { - constructor(@Inject('APP_VERSION') private readonly appVersion: string) {} + constructor(@Inject('APP_VERSION') private readonly appVersion: string) {} - getVersion(): string { - return this.appVersion; - } + getVersion(): string { + return this.appVersion; + } }