diff --git a/app/serializers/match_score_serializer.rb b/app/serializers/match_score_serializer.rb index 2e831ab..bb62f7e 100644 --- a/app/serializers/match_score_serializer.rb +++ b/app/serializers/match_score_serializer.rb @@ -3,6 +3,5 @@ class MatchScoreSerializer < ApplicationSerializer attributes :points - has_one :team - has_one :match + belongs_to :team end