mirror of
https://github.com/discourse/discourse.git
synced 2026-09-05 04:40:41 -05:00
FIX: deleted_by wasn't showing up on refresh
This commit is contained in:
@@ -123,7 +123,7 @@ class PostSerializer < BasicPostSerializer
|
||||
end
|
||||
|
||||
def include_deleted_by?
|
||||
staff? && object.deleted_by.present?
|
||||
scope.is_staff? && object.deleted_by.present?
|
||||
end
|
||||
|
||||
# Summary of the actions taken on this post
|
||||
|
||||
Reference in New Issue
Block a user