mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
fix: ...do not add to ActiveTUs when voting on a proposal
Straight up bug. Closes #324 Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
parent
b63ac7ce91
commit
9204b76110
2 changed files with 0 additions and 3 deletions
|
@ -220,7 +220,6 @@ async def trusted_user_proposal_post(request: Request, proposal: int,
|
|||
|
||||
with db.begin():
|
||||
vote = db.create(models.TUVote, User=request.user, VoteInfo=voteinfo)
|
||||
voteinfo.ActiveTUs += 1
|
||||
|
||||
context["error"] = "You've already voted for this proposal."
|
||||
return render_proposal(request, context, proposal, voteinfo, voters, vote)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue