DEV: Remove unneeded argument for add_to_serializer (#459)

Followup to 1dd0be9134
This commit is contained in:
David Taylor 2023-04-25 15:54:23 +01:00 committed by GitHub
parent 1dd0be9134
commit 4d1b55c5e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -699,7 +699,6 @@ after_initialize do
add_to_serializer(
:post,
:assigned_to_group,
false,
include_condition: -> do
(SiteSetting.assigns_public || scope.can_assign?) &&
object.assignment&.assigned_to&.is_a?(Group) && object.assignment.active