Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

Fixed the bug of wrong data structure

Vladyslav Matsiiakoace0e9c56fbb
diff --git a/frontend/src/views/Settings/ProjectSettingsPage/ProjectSettingsPage.tsx b/frontend/src/views/Settings/ProjectSettingsPage/ProjectSettingsPage.tsx
index 6de068ec54..9c08e2bcd0 100644
--- a/frontend/src/views/Settings/ProjectSettingsPage/ProjectSettingsPage.tsx
+++ b/frontend/src/views/Settings/ProjectSettingsPage/ProjectSettingsPage.tsx
@@ -228,7 +228,7 @@ export const ProjectSettingsPage = () => {
text: 'Successfully created a tag',
type: 'success'
});
- return res?.data?.name;
+ return res.name;
} catch (error) {
console.error(error);
createNotification({