From 2f0ec85e9cbfda82e9bb006d215d6e102c1a4e84 Mon Sep 17 00:00:00 2001 From: Ianyourgod Date: Tue, 5 Mar 2024 09:22:59 -0600 Subject: [PATCH] a single change :tgrfol handfs;;';' --- api/db/UserManager.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/api/db/UserManager.js b/api/db/UserManager.js index 39f9067..981d3d2 100644 --- a/api/db/UserManager.js +++ b/api/db/UserManager.js @@ -46,6 +46,14 @@ class UserManager { this.reports = this.db.collection('reports'); this.projects = this.db.collection('projects'); this.messages = this.db.collection('messages'); + this.illegalList = this.db.collection('illegalList'); + this.illegalList.insertMany([ + { id: "illegalWords", items: [] }, + { id: "illegalWebsites", items: [] }, + { id: "spacedOutWordsOnly", items: [] }, + { id: "potentiallyUnsafeWords", items: [] }, + { id: "potentiallyUnsafeWordsSpacedOut", items: [] } + ]) return true; }