fix: system users not being set to approved on creation

This commit is contained in:
Mar0xy 2023-10-19 10:38:46 +02:00
parent 7739278685
commit 059401aeab
No known key found for this signature in database
GPG key ID: 56569BBE47D2C828

View file

@ -61,6 +61,7 @@ export class CreateSystemUserService {
isRoot: false, isRoot: false,
isLocked: true, isLocked: true,
isExplorable: false, isExplorable: false,
approved: true,
isBot: true, isBot: true,
}).then(x => transactionalEntityManager.findOneByOrFail(MiUser, x.identifiers[0])); }).then(x => transactionalEntityManager.findOneByOrFail(MiUser, x.identifiers[0]));