Skip to content

Scheduling infrastructure for absolutely everyone.

use lib folder

femyeda6fec24a69d7c
diff --git a/src/forgot-password/messaging/forgot-password.ts b/lib/forgot-password/messaging/forgot-password.ts
similarity index 85%
rename from src/forgot-password/messaging/forgot-password.ts
rename to lib/forgot-password/messaging/forgot-password.ts
index 625d9f60229..fde5350ee11 100644
--- a/src/forgot-password/messaging/forgot-password.ts
+++ b/lib/forgot-password/messaging/forgot-password.ts
@@ -1,4 +1,4 @@
-import buildMessageTemplate from "../../../lib/emails/buildMessageTemplate";
+import buildMessageTemplate from "../../emails/buildMessageTemplate";
export const forgotPasswordSubjectTemplate = "Forgot your password? - Calendso";
diff --git a/pages/api/auth/forgot-password.ts b/pages/api/auth/forgot-password.ts
index 415965955e6..bf4280b8f8e 100644
--- a/pages/api/auth/forgot-password.ts
+++ b/pages/api/auth/forgot-password.ts
@@ -3,7 +3,7 @@ import prisma from "../../../lib/prisma";
import dayjs from "dayjs";
import { User, ResetPasswordRequest } from "@prisma/client";
import sendEmail from "../../../lib/emails/sendMail";
-import { buildForgotPasswordMessage } from "../../../src/forgot-password/messaging/forgot-password";
+import { buildForgotPasswordMessage } from "../../../lib/forgot-password/messaging/forgot-password";
import timezone from "dayjs/plugin/timezone";
import utc from "dayjs/plugin/utc";
dayjs.extend(utc);