remotes/1693045480750635534/spooky-22
Aevann1 2021-11-16 05:06:46 +02:00
parent 4f8a973b96
commit 458450da4e
1 changed files with 0 additions and 2 deletions

View File

@ -27,8 +27,6 @@ def delete(v):
votes = g.db.query(Vote).join(Submission, Vote.submission_id==Submission.id).filter(Submission.author_id.in_(shadowbanned)).all()
votes2 = g.db.query(CommentVote).join(Comment, CommentVote.comment_id==Comment.id).filter(Comment.author_id.in_(shadowbanned)).all()
votes = votes + votes2
for vote in votes: g.db.delete(vote)
g.db.commit()
return (str(len(votes)))
@app.get("/name/<id>/<name>")