fix(cli): fix-usernames command only fixes lowercase usernames (#2650)

This commit is contained in:
Meier Lukas
2025-03-19 21:05:06 +01:00
committed by GitHub
parent a04cb25dd0
commit b0381cb883

View File

@@ -19,7 +19,7 @@ export const fixUsernames = command({
for (const user of credentialUsers) {
if (!user.name) continue;
if (user.name !== user.name.toLowerCase()) continue;
if (user.name === user.name.toLowerCase()) continue;
await db
.update(users)