From 6b2fc7e33fdfbeac9f4425b15dcc7ab07dfa4dd1 Mon Sep 17 00:00:00 2001 From: Malaber <32635600+Malaber@users.noreply.github.com> Date: Wed, 5 Jun 2019 00:17:42 +0200 Subject: [PATCH] fixup to 3cad50776f476afe0c10c7331835d719fe1b7eac --- app/interactors/update_groups_group_scores.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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