mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-27 01:06:21 +08:00
pretty fix
This commit is contained in:
parent
27b1a7fedb
commit
d500e06d9b
1 changed files with 1 additions and 1 deletions
|
|
@ -1007,7 +1007,7 @@ export async function setStreakHourOffset(
|
|||
}
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
export async function setBanned(uid: string, banned: boolean): Promise<void> {
|
||||
if (banned) {
|
||||
await getUsersCollection().updateOne({ uid }, { $set: { banned: true } });
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue