refactor: user delete (#23163)

This commit is contained in:
Jason Rasmussen
2025-10-22 12:54:29 -04:00
committed by GitHub
parent 8c27ba3e52
commit 834e52fda6
6 changed files with 15 additions and 12 deletions

View File

@@ -16,8 +16,8 @@ export class TelemetryService extends BaseService {
this.telemetryRepository.api.addToGauge(`immich.users.total`, 1);
}
@OnEvent({ name: 'UserDelete' })
onUserDelete() {
@OnEvent({ name: 'UserTrash' })
onUserTrash() {
this.telemetryRepository.api.addToGauge(`immich.users.total`, -1);
}