fixed query for /scores/teamscores