Skip to content

Commit 7b1ab37

Browse files
committed
Added in list of hashed emails.
1 parent 3a1f382 commit 7b1ab37

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

logs\.269f6f2c978942fcfa2d6d23072f04a23690649c-audit.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
"auditLog": "logs\\.269f6f2c978942fcfa2d6d23072f04a23690649c-audit.json",
77
"files": [
88
{
9-
"date": 1765734660720,
10-
"name": "logs/combined-2025-12-14.log",
11-
"hash": "e8c9df011e43805174e8ab775d26aa4d4c2602fecdedb8097c15096d64ee6422"
9+
"date": 1767636956341,
10+
"name": "logs/combined-2026-01-05.log",
11+
"hash": "3c2d36acdecfb3404e61cac83f74c5ea682616904e31ef9dcc419e19af1b2ed4"
1212
}
1313
],
1414
"hashType": "sha256"

src/models/guildSchema.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ const guildConfigSchema = new Schema({
4848
topics: { type: [String] },
4949
noXpChannels: { type: [String], default: [] },
5050
frames: { type: [frameSchema], default: [] },
51+
hashedEmails: { type: [String], default: [] },
5152
extraObjects: {
5253
type: Map,
5354
of: Schema.Types.Mixed,

src/utils/formatUsersToWhitelist.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ export async function formatUsersToWhitelist(users: UserDocument[]) {
2525
await user.save();
2626
continue;
2727
}
28-
2928
if (!user.minecraftData.uuid?.includes("-")) {
3029
user.minecraftData.uuid = uuidToFullUuid(user.minecraftData.uuid!);
3130
}

0 commit comments

Comments
 (0)