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