mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-17 08:35:52 +00:00
feat(infisical-pg): changed frontend api types _id to normal id
This commit is contained in:
@@ -18,9 +18,9 @@ export default function DashboardRedirect() {
|
||||
if (localStorage.getItem("orgData.id")) {
|
||||
router.push(`/org/${localStorage.getItem("orgData.id")}/overview`);
|
||||
} else if (userOrgs) {
|
||||
userOrg = userOrgs[0].id;
|
||||
router.push(`/org/${userOrg}/overview`);
|
||||
}
|
||||
userOrg = userOrgs[0].id;
|
||||
router.push(`/org/${userOrg}/overview`);
|
||||
}
|
||||
} catch (error) {
|
||||
console.log("Error - Not logged in yet");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user