pretty fix

This commit is contained in:
Miodec 2023-06-12 14:47:13 +02:00
parent 27b1a7fedb
commit d500e06d9b

View file

@ -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 } });