diff --git a/pages/api/teams/index.ts b/pages/api/teams/index.ts index 3fcd7d7d05..a480bff97a 100644 --- a/pages/api/teams/index.ts +++ b/pages/api/teams/index.ts @@ -56,16 +56,15 @@ async function createOrlistAllTeams(req: NextApiRequest, res: NextApiResponse schemaMembershipPublic.parse(membership)); - // We're also creating the relation membership of team ownership in this call. const data = schemaTeamPublic.parse(team); // We are also returning the new ownership relation as owner besides team. if (data)