cal.pub0.org/apps/web/ee/pages/api/teams/[team]
..
upgrade.ts