Skip to content

Commit 45fc9bc

Browse files
committed
Remove unneeded assignment
1 parent ef6fb96 commit 45fc9bc

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

lib/jsonapi/active_relation/join_manager.rb

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -154,13 +154,13 @@ def perform_joins(records, options)
154154
next
155155
end
156156

157-
records, join_node = self.class.get_join_arel_node(records, options) {|records, options|
158-
records = related_resource_klass.join_relationship(
159-
records: records,
160-
resource_type: related_resource_klass._type,
161-
join_type: join_type,
162-
relationship: relationship,
163-
options: options)
157+
records, join_node = self.class.get_join_arel_node(records, options) {|records, options|
158+
related_resource_klass.join_relationship(
159+
records: records,
160+
resource_type: related_resource_klass._type,
161+
join_type: join_type,
162+
relationship: relationship,
163+
options: options)
164164
}
165165

166166
details = {alias: self.class.alias_from_arel_node(join_node), join_type: join_type}

0 commit comments

Comments
 (0)