fixup to 3cad50776f
This commit is contained in:
parent
8634bddcaf
commit
6b2fc7e33f
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue