mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-14 00:14:03 +00:00
Should set last_refreshed_at, not updated
This commit is contained in:
parent
89f9ecb634
commit
c5f08768cd
1 changed files with 1 additions and 1 deletions
|
@ -190,7 +190,7 @@ impl User_ {
|
|||
|
||||
pub fn mark_as_updated(conn: &PgConnection, user_id: i32) -> Result<User_, Error> {
|
||||
diesel::update(user_.find(user_id))
|
||||
.set((updated.eq(naive_now()),))
|
||||
.set((last_refreshed_at.eq(naive_now()),))
|
||||
.get_result::<Self>(conn)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue