From 6fe3a8bd6782685816f7cc5f9c4861260c04aa97 Mon Sep 17 00:00:00 2001 From: Salman Date: Tue, 30 Jan 2024 04:09:05 +0530 Subject: [PATCH] fix: postgresql migration from _id to id --- .../ProjectNameChangeSection/ProjectNameChangeSection.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/views/Settings/ProjectSettingsPage/components/ProjectNameChangeSection/ProjectNameChangeSection.tsx b/frontend/src/views/Settings/ProjectSettingsPage/components/ProjectNameChangeSection/ProjectNameChangeSection.tsx index 04ac02b81..719129ebf 100644 --- a/frontend/src/views/Settings/ProjectSettingsPage/components/ProjectNameChangeSection/ProjectNameChangeSection.tsx +++ b/frontend/src/views/Settings/ProjectSettingsPage/components/ProjectNameChangeSection/ProjectNameChangeSection.tsx @@ -67,7 +67,7 @@ export const ProjectNameChangeSection = () => { }; const copyProjectIdToClipboard = () => { - navigator.clipboard.writeText(currentWorkspace?._id || ""); + navigator.clipboard.writeText(currentWorkspace?.id || ""); setIsProjectIdCopied.on(); createNotification({