This commit is contained in:
tamaina 2023-07-19 07:03:07 +00:00
parent 4e7a26e6d5
commit 4c83663597
1 changed files with 2 additions and 0 deletions

View File

@ -291,6 +291,8 @@ export class ApPersonService implements OnModuleInit {
await this.db.transaction(async transactionalEntityManager => {
user = await transactionalEntityManager.save(new User({
id: this.idService.genId(),
avatarId: null,
bannerId: null,
createdAt: new Date(),
lastFetchedAt: new Date(),
name: truncate(person.name, nameLength),