Merge remote-tracking branch 'parent/main' into upstream-20250210
This commit is contained in:
commit
f3f93ba0c6
108 changed files with 1041 additions and 727 deletions
|
@ -76,7 +76,7 @@ class Admin::SystemCheck::MediaPrivacyCheck < Admin::SystemCheck::BaseCheck
|
|||
|
||||
def media_attachment
|
||||
@media_attachment ||= begin
|
||||
attachment = Account.representative.media_attachments.first
|
||||
attachment = Account.representative.media_attachments.take
|
||||
if attachment.present?
|
||||
attachment.touch
|
||||
attachment
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue