mirror of
https://github.com/immich-app/immich.git
synced 2026-03-01 10:08:42 +03:00
refactor: event names (#19945)
This commit is contained in:
@@ -57,7 +57,7 @@ const messages = {
|
||||
|
||||
@Injectable()
|
||||
export class DatabaseService extends BaseService {
|
||||
@OnEvent({ name: 'app.bootstrap', priority: BootstrapEventPriority.DatabaseService })
|
||||
@OnEvent({ name: 'AppBootstrap', priority: BootstrapEventPriority.DatabaseService })
|
||||
async onBootstrap() {
|
||||
const version = await this.databaseRepository.getPostgresVersion();
|
||||
const current = semver.coerce(version);
|
||||
|
||||
Reference in New Issue
Block a user