This commit is contained in:
Daniel Schädler 2019-06-05 00:17:42 +02:00
parent 8634bddcaf
commit 6b2fc7e33f
1 changed files with 1 additions and 3 deletions

View File

@ -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