fixup to 3cad50776f
This commit is contained in:
parent
8634bddcaf
commit
6b2fc7e33f
|
|
@ -4,10 +4,8 @@ class UpdateGroupsGroupScores
|
||||||
include Interactor
|
include Interactor
|
||||||
|
|
||||||
def call
|
def call
|
||||||
group = context.group
|
|
||||||
begin
|
begin
|
||||||
group_scores = GroupStageService.update_group_scores(group)
|
context.object_to_save = GroupStageService.update_group_scores(context.group)
|
||||||
context.object_to_save = group_scores
|
|
||||||
rescue StandardError
|
rescue StandardError
|
||||||
context.fail!
|
context.fail!
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue