diff --git a/apps/api/v1/next-i18next.config.js b/apps/api/v1/next-i18next.config.js index 402b72363c..cab1a8b008 100644 --- a/apps/api/v1/next-i18next.config.js +++ b/apps/api/v1/next-i18next.config.js @@ -4,7 +4,7 @@ const i18nConfig = require("@calcom/config/next-i18next.config"); /** @type {import("next-i18next").UserConfig} */ const config = { ...i18nConfig, - localePath: path.resolve("../web/public/static/locales"), + localePath: path.resolve("../../web/public/static/locales"), }; module.exports = config; diff --git a/apps/api/v1/test/lib/bookings/_post.test.ts b/apps/api/v1/test/lib/bookings/_post.test.ts index 64abddcfe3..e34defc601 100644 --- a/apps/api/v1/test/lib/bookings/_post.test.ts +++ b/apps/api/v1/test/lib/bookings/_post.test.ts @@ -1,5 +1,5 @@ // TODO: Fix tests (These test were never running due to the vitest workspace config) -import prismaMock from "../../../../../tests/libs/__mocks__/prisma"; +import prismaMock from "../../../../../../tests/libs/__mocks__/prismaMock"; import type { Request, Response } from "express"; import type { NextApiRequest, NextApiResponse } from "next"; diff --git a/apps/api/v1/tsconfig.json b/apps/api/v1/tsconfig.json index c6b3666313..7283f0b350 100644 --- a/apps/api/v1/tsconfig.json +++ b/apps/api/v1/tsconfig.json @@ -13,8 +13,8 @@ "next-env.d.ts", "**/*.ts", "**/*.tsx", - "../../packages/types/*.d.ts", - "../../packages/types/next-auth.d.ts" + "../../../packages/types/*.d.ts", + "../../../packages/types/next-auth.d.ts" ], "exclude": ["node_modules", "templates", "auth"] } diff --git a/packages/platform/atoms/connect-to-cal-button/Button.tsx b/packages/platform/atoms/connect-to-cal-button/Button.tsx index bed02c7a99..8c0f72ed8a 100644 --- a/packages/platform/atoms/connect-to-cal-button/Button.tsx +++ b/packages/platform/atoms/connect-to-cal-button/Button.tsx @@ -39,7 +39,7 @@ export function ConnectButton({ if (onSuccess) { await onSuccess(); } - } catch (error) { + } catch (error: any) { setIsProcessing(false); if (onError) {