Skip to content

Scheduling infrastructure for absolutely everyone.

fixes #3142 - Huddle01 installation (no success message and no redirect) issue (#3231)

noobyogi001034cd41be675e
diff --git a/packages/app-store/huddle01video/api/add.ts b/packages/app-store/huddle01video/api/add.ts
index ca22eaefae4..49927a2b070 100644
--- a/packages/app-store/huddle01video/api/add.ts
+++ b/packages/app-store/huddle01video/api/add.ts
@@ -39,5 +39,6 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse)
}
return res.status(500);
}
- return res.redirect("/apps/installed");
+ // need to return a json object with the response status
+ return res.status(200).json({ url: "/apps/installed" });
}