mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
refactor: event names (#19945)
This commit is contained in:
parent
351701c4d6
commit
920d7de349
32 changed files with 171 additions and 168 deletions
|
|
@ -73,11 +73,11 @@ class BaseModule implements OnModuleInit, OnModuleDestroy {
|
|||
);
|
||||
|
||||
this.eventRepository.setup({ services });
|
||||
await this.eventRepository.emit('app.bootstrap');
|
||||
await this.eventRepository.emit('AppBootstrap');
|
||||
}
|
||||
|
||||
async onModuleDestroy() {
|
||||
await this.eventRepository.emit('app.shutdown');
|
||||
await this.eventRepository.emit('AppShutdown');
|
||||
await teardownTelemetry();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue