diff --git a/.gitignore b/.gitignore
index 4663988fb..8a6f4e73e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -42,5 +42,8 @@ certificates
#vscode
.vscode/
+#cursor
+.cursorrules
+
# localfile with all the CSS variables exported from design system
variables.css
\ No newline at end of file
diff --git a/actions/editProfile.ts b/actions/editProfile.ts
index 8f0791c48..acf5d1b12 100644
--- a/actions/editProfile.ts
+++ b/actions/editProfile.ts
@@ -148,7 +148,7 @@ export const editProfile = protectedServerActionProcedure
)
}
- const apiResponse = await api.patch(api.endpoints.v1.profile, {
+ const apiResponse = await api.patch(api.endpoints.v1.Profile.profile, {
body,
cache: "no-store",
headers: {
diff --git a/actions/registerUser.ts b/actions/registerUser.ts
index e65fc357f..ecd2318b4 100644
--- a/actions/registerUser.ts
+++ b/actions/registerUser.ts
@@ -55,7 +55,7 @@ export const registerUser = serviceServerActionProcedure
let apiResponse
try {
- apiResponse = await api.post(api.endpoints.v1.profile, {
+ apiResponse = await api.post(api.endpoints.v1.Profile.profile, {
body: parsedPayload.data,
headers: {
Authorization: `Bearer ${ctx.serviceToken}`,
diff --git a/actions/registerUserBookingFlow.ts b/actions/registerUserBookingFlow.ts
index a0539d351..a34cad231 100644
--- a/actions/registerUserBookingFlow.ts
+++ b/actions/registerUserBookingFlow.ts
@@ -33,7 +33,7 @@ export const registerUserBookingFlow = serviceServerActionProcedure
// TODO: Consume the API to register the user as soon as passwordless signup is enabled.
// let apiResponse
// try {
- // apiResponse = await api.post(api.endpoints.v1.profile, {
+ // apiResponse = await api.post(api.endpoints.v1.Profile.profile, {
// body: payload,
// headers: {
// Authorization: `Bearer ${ctx.serviceToken}`,
diff --git a/app/[lang]/(live)/(protected)/my-pages/profile/layout.tsx b/app/[lang]/(live)/(protected)/my-pages/profile/layout.tsx
index 13512d701..73496fe4e 100644
--- a/app/[lang]/(live)/(protected)/my-pages/profile/layout.tsx
+++ b/app/[lang]/(live)/(protected)/my-pages/profile/layout.tsx
@@ -1,5 +1,3 @@
-import { env } from "@/env/server"
-
import Divider from "@/components/TempDesignSystem/Divider"
import type { ProfileLayoutProps } from "@/types/components/myPages/myProfile/layout"
@@ -17,7 +15,7 @@ export default function ProfileLayout({
{profile}