diff --git a/app/interactors/update_groups_group_scores.rb b/app/interactors/update_groups_group_scores.rb index dd5dc3e..dfec128 100644 --- a/app/interactors/update_groups_group_scores.rb +++ b/app/interactors/update_groups_group_scores.rb @@ -4,10 +4,8 @@ class UpdateGroupsGroupScores include Interactor def call - group = context.group begin - group_scores = GroupStageService.update_group_scores(group) - context.object_to_save = group_scores + context.object_to_save = GroupStageService.update_group_scores(context.group) rescue StandardError context.fail! end