fix config path after move to folder /v1
This commit is contained in:
parent
b822304066
commit
d3e1b0fa6e
|
@ -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;
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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"]
|
||||
}
|
||||
|
|
|
@ -39,7 +39,7 @@ export function ConnectButton({
|
|||
if (onSuccess) {
|
||||
await onSuccess();
|
||||
}
|
||||
} catch (error) {
|
||||
} catch (error: any) {
|
||||
setIsProcessing(false);
|
||||
|
||||
if (onError) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user