Created http api endpoints for managing ignored users list
This commit is contained in:
parent
b80f82b9f2
commit
25a61b5809
4 changed files with 133 additions and 5 deletions
|
|
@ -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){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue