mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-07-07 12:36:57 +00:00
improve result message in ApPersonService.updatePerson
This commit is contained in:
parent
1c5df0e8e2
commit
ddbf5f354c
1 changed files with 1 additions and 1 deletions
|
@ -632,7 +632,7 @@ export class ApPersonService implements OnModuleInit, OnApplicationShutdown {
|
||||||
|
|
||||||
// Update user
|
// Update user
|
||||||
if (!(await this.usersRepository.update({ id: exist.id, isDeleted: false }, updates)).affected) {
|
if (!(await this.usersRepository.update({ id: exist.id, isDeleted: false }, updates)).affected) {
|
||||||
return 'skip';
|
return `skip: user ${exist.id} is deleted`;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (person.publicKey) {
|
if (person.publicKey) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue