main
alex 2024-01-21 12:57:28 +01:00
parent ebaf828882
commit 23ea78ccca
1 changed files with 2 additions and 0 deletions

View File

@ -258,6 +258,8 @@ export async function UnlinkGoogleCalendar(req: Request, res: Response) {
return res.status(401).send({ err: "unauthorized" });
}
console.log("userSession.user_id", userSession.user_id);
axios
.post(`${process.env.TERMIN_PLANNER_URL}/removeGoogleAccount` as string, {
userId: userSession.user_id,