mirror of
https://github.com/yingziwu/mastodon.git
synced 2026-02-04 03:25:14 +00:00
Use touch to record viewing annual report (#35296)
This commit is contained in:
parent
f7259f625f
commit
fb6c22f5c2
1 changed files with 1 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ class GeneratedAnnualReport < ApplicationRecord
|
||||||
end
|
end
|
||||||
|
|
||||||
def view!
|
def view!
|
||||||
update!(viewed_at: Time.now.utc)
|
touch(:viewed_at)
|
||||||
end
|
end
|
||||||
|
|
||||||
def account_ids
|
def account_ids
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue