improve result message in ApPersonService.updatePerson

This commit is contained in:
Hazelnoot 2025-04-01 12:10:17 -04:00
parent 1c5df0e8e2
commit ddbf5f354c

View file

@ -632,7 +632,7 @@ export class ApPersonService implements OnModuleInit, OnApplicationShutdown {
// Update user
if (!(await this.usersRepository.update({ id: exist.id, isDeleted: false }, updates)).affected) {
return 'skip';
return `skip: user ${exist.id} is deleted`;
}
if (person.publicKey) {