From c5f08768cddc7324bbbb4afacf90b444bec027b0 Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Tue, 1 Dec 2020 21:07:32 +0100 Subject: [PATCH] Should set last_refreshed_at, not updated --- lemmy_db/src/user.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lemmy_db/src/user.rs b/lemmy_db/src/user.rs index 3f2efd2cc..4733fdfea 100644 --- a/lemmy_db/src/user.rs +++ b/lemmy_db/src/user.rs @@ -190,7 +190,7 @@ impl User_ { pub fn mark_as_updated(conn: &PgConnection, user_id: i32) -> Result { diesel::update(user_.find(user_id)) - .set((updated.eq(naive_now()),)) + .set((last_refreshed_at.eq(naive_now()),)) .get_result::(conn) }