fix
This commit is contained in:
parent
4e7a26e6d5
commit
4c83663597
1 changed files with 2 additions and 0 deletions
|
@ -291,6 +291,8 @@ export class ApPersonService implements OnModuleInit {
|
||||||
await this.db.transaction(async transactionalEntityManager => {
|
await this.db.transaction(async transactionalEntityManager => {
|
||||||
user = await transactionalEntityManager.save(new User({
|
user = await transactionalEntityManager.save(new User({
|
||||||
id: this.idService.genId(),
|
id: this.idService.genId(),
|
||||||
|
avatarId: null,
|
||||||
|
bannerId: null,
|
||||||
createdAt: new Date(),
|
createdAt: new Date(),
|
||||||
lastFetchedAt: new Date(),
|
lastFetchedAt: new Date(),
|
||||||
name: truncate(person.name, nameLength),
|
name: truncate(person.name, nameLength),
|
||||||
|
|
Loading…
Reference in a new issue