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
1 changed files with 1 additions and 0 deletions

View File

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