Commit 928b2507 authored by nanahira's avatar nanahira

fix

parent 9cfd5c85
Pipeline #3093 passed with stages
in 1 minute and 17 seconds
...@@ -2,6 +2,7 @@ import { Injectable } from '@nestjs/common'; ...@@ -2,6 +2,7 @@ import { Injectable } from '@nestjs/common';
import { AppLogger } from './app.logger'; import { AppLogger } from './app.logger';
import { Connection } from 'typeorm'; import { Connection } from 'typeorm';
import { InjectConnection } from '@nestjs/typeorm'; import { InjectConnection } from '@nestjs/typeorm';
import { BotService } from './bot/bot.service';
@Injectable() @Injectable()
export class AppService { export class AppService {
...@@ -9,6 +10,7 @@ export class AppService { ...@@ -9,6 +10,7 @@ export class AppService {
@InjectConnection('app') @InjectConnection('app')
private db: Connection, private db: Connection,
private log: AppLogger, private log: AppLogger,
private botService: BotService,
) { ) {
this.log.setContext('app'); this.log.setContext('app');
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment