mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-23 19:36:56 -08:00
typo
This commit is contained in:
parent
740c42daea
commit
6970f15e4c
1 changed files with 1 additions and 1 deletions
|
@ -1439,7 +1439,7 @@ class PostReply(db.Model):
|
||||||
effect=effect)
|
effect=effect)
|
||||||
self.author.reputation += effect
|
self.author.reputation += effect
|
||||||
db.session.add(vote)
|
db.session.add(vote)
|
||||||
current_user.last_seen = utcnow()
|
user.last_seen = utcnow()
|
||||||
self.ranking = self.confidence(self.up_votes, self.down_votes)
|
self.ranking = self.confidence(self.up_votes, self.down_votes)
|
||||||
user.recalculate_attitude()
|
user.recalculate_attitude()
|
||||||
db.session.commit()
|
db.session.commit()
|
||||||
|
|
Loading…
Add table
Reference in a new issue