Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 9fcd4c0

Browse files
committedJan 7, 2022
Date added bug fxed
1 parent 88c6c73 commit 9fcd4c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎api/api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ async function removeVictim(req,res)
6262
if(req.app.locals.isAuth)
6363
{
6464
let {token}=req.body;
65-
victimmodel.deleteOne({token:token},()=>{
65+
victimmodel.deleteOne({tokens:token},()=>{
6666
res.json({"status":"Sucess"});
6767
})
6868
.catch((err)=>{res.json({"status":"Failed",msg:err.message});});

0 commit comments

Comments
 (0)
Please sign in to comment.