mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 05:50:14 +08:00
036a24cf30
A small fix for Basic User Serializers where some downstream serializers do not correctly set user objects. This caused some issues in certain plugins that depend on the user method to return a user.
8 lines
127 B
Ruby
8 lines
127 B
Ruby
# frozen_string_literal: true
|
|
|
|
Fabricator(:post_action) do
|
|
post
|
|
user
|
|
post_action_type_id PostActionType.types[:like]
|
|
end
|