Fix #5312: StatementInvalid Error When Querying the media_assets Attribute of Uploads

This commit is contained in:
evazion
2022-10-25 14:15:47 -05:00
parent c96d60a840
commit 6413b9abcd
5 changed files with 71 additions and 8 deletions

View File

@@ -1412,7 +1412,7 @@ class Post < ApplicationRecord
:last_comment_bumped_at, :last_commented_at, :last_noted_at,
:uploader, :approver, :parent,
:artist_commentary, :flags, :appeals, :notes, :comments, :children,
:approvals, :replacements],
:approvals, :replacements, :media_metadata],
current_user: current_user
)