mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 12:55:00 +00:00
Revert "fix(server): wrong usage of optl (#6714)"
This reverts commit 4868f6e611.
This commit is contained in:
@@ -9,6 +9,9 @@ export class UnamedAccount1703756315970 {
|
||||
const users = await db.$queryRaw<
|
||||
User[]
|
||||
>`SELECT * FROM users WHERE name ~ E'^[\\s\\u2000-\\u200F]*$';`;
|
||||
console.log(
|
||||
`renaming ${users.map(({ email }) => email).join('|')} users`
|
||||
);
|
||||
|
||||
await Promise.all(
|
||||
users.map(({ id, email }) =>
|
||||
|
||||
Reference in New Issue
Block a user