style: removed created user error during log in with imported user

removed created user error during log in with imported user
This commit is contained in:
Fallenbagel
2022-04-27 11:51:26 +05:00
parent 9d54776a2c
commit b52d4a771c

View File

@@ -521,9 +521,9 @@ router.post(
} }
await userRepository.save(user); await userRepository.save(user);
} else if (!body || body.jellyfinUserIds.includes(account.Id)) { } else if (!body || body.jellyfinUserIds.includes(account.Id)) {
logger.error('CREATED USER', { // logger.error('CREATED USER', {
label: 'API', // label: 'API',
}); // });
const newUser = new User({ const newUser = new User({
jellyfinUsername: account.Name, jellyfinUsername: account.Name,