From 6970f15e4c100920939d58f10c9d9d2a5e00ccb6 Mon Sep 17 00:00:00 2001 From: rimu <3310831+rimu@users.noreply.github.com> Date: Fri, 13 Sep 2024 16:48:39 +1200 Subject: [PATCH] typo --- app/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models.py b/app/models.py index b7f2d455..e9434923 100644 --- a/app/models.py +++ b/app/models.py @@ -1439,7 +1439,7 @@ class PostReply(db.Model): effect=effect) self.author.reputation += effect db.session.add(vote) - current_user.last_seen = utcnow() + user.last_seen = utcnow() self.ranking = self.confidence(self.up_votes, self.down_votes) user.recalculate_attitude() db.session.commit()