mirror of
https://github.com/immich-app/immich
synced 2026-08-29 13:15:45 +00:00
refactor: job names (#19949)
This commit is contained in:
parent
e73abe0762
commit
bcb968e3d1
37 changed files with 334 additions and 343 deletions
|
|
@ -104,7 +104,7 @@ export class UserAdminService extends BaseService {
|
|||
const user = await this.userRepository.update(id, { status, deletedAt: new Date() });
|
||||
|
||||
if (force) {
|
||||
await this.jobRepository.queue({ name: JobName.UserDeletion, data: { id: user.id, force } });
|
||||
await this.jobRepository.queue({ name: JobName.UserDelete, data: { id: user.id, force } });
|
||||
}
|
||||
|
||||
return mapUserAdmin(user);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue