mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-08 00:27:35 +00:00
Fix: Typings error
This commit is contained in:
@@ -189,14 +189,12 @@ export const UserInfoSSOStep = ({
|
|||||||
|
|
||||||
const userOrgs = await fetchOrganizations();
|
const userOrgs = await fetchOrganizations();
|
||||||
const orgId = userOrgs[0]?.id;
|
const orgId = userOrgs[0]?.id;
|
||||||
const orgSlug = userOrgs[0]?.slug;
|
|
||||||
|
|
||||||
await selectOrganization({
|
await selectOrganization({
|
||||||
organizationId: orgId
|
organizationId: orgId
|
||||||
});
|
});
|
||||||
|
|
||||||
const project = await ProjectService.initProject({
|
const project = await ProjectService.initProject({
|
||||||
organizationSlug: orgSlug,
|
|
||||||
projectName: "Example Project"
|
projectName: "Example Project"
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user