From 2279712eb6f51e024c75fcf88cb707d39a6f4ad0 Mon Sep 17 00:00:00 2001 From: Badal Khatri Date: Sat, 2 Dec 2023 10:33:23 +0530 Subject: [PATCH] fix: Label params --- apps/web/pages/api/tags/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/web/pages/api/tags/index.tsx b/apps/web/pages/api/tags/index.tsx index affcf0719..c847b0257 100644 --- a/apps/web/pages/api/tags/index.tsx +++ b/apps/web/pages/api/tags/index.tsx @@ -7,12 +7,12 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse) if (!user) return $res(); - const { activeTeamId } = req.query; + const { organizationTeamId } = req.query; const par = { tenantId, organizationId, - activeTeamId: (activeTeamId as string) || null + organizationTeamId: (organizationTeamId as string) || null }; switch (req.method) {