Created http api endpoints for managing ignored users list

This commit is contained in:
rainbow napkin 2026-11-08 21:49:36 -05:00
parent b80f82b9f2
commit 25a61b5809
4 changed files with 133 additions and 5 deletions

View file

@ -702,8 +702,6 @@ userSchema.methods.ignoreByUserDoc = async function(userDB){
//Save the DB document
await this.save();
console.log(await this.getIgnoredUsers());
}
/**
@ -737,8 +735,6 @@ userSchema.methods.unignoreByUserDoc = async function(userDB){
//Save the DB document
await this.save();
console.log(await this.getIgnoredUsers());
}
userSchema.methods.getIgnoredUsers = async function(fetchAlts = true){