fixup to 3cad50776f
This commit is contained in:
parent
0c072b7719
commit
8634bddcaf
|
|
@ -14,8 +14,7 @@ class MatchScoresController < ApplicationController
|
|||
def update
|
||||
if @match_score.update(match_score_params)
|
||||
if @match_score.part_of_group_match?
|
||||
match_score_group = @match_score.match.group
|
||||
UpdateGroupsGroupScoresAndSave.call(group: match_score_group)
|
||||
UpdateGroupsGroupScoresAndSave.call(group: @match_score.match.group)
|
||||
end
|
||||
render json: @match_score
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in New Issue