Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
Fix: Creating dummy workspaces
Daniel Hougaardb9986be3871c
diff --git a/frontend/src/services/ProjectService.ts b/frontend/src/services/ProjectService.tsindex b93aa0054f..e1d0e3fe80 100644--- a/frontend/src/services/ProjectService.ts+++ b/frontend/src/services/ProjectService.ts@@ -1,26 +1,26 @@import { initProjectHelper } from "@app/helpers/project";class ProjectService {- /**- * Create and initialize a new project in organization with id [organizationId]- * Note: current user should be a member of the organization- * @param {Object} obj- * @param {String} obj.organizationId - id of organization- * @param {String} obj.projectName - name of new project- * @returns {Project} project - new project- */- static async initProject({- organizationId,- projectName- }: {- organizationId: string;- projectName: string- }) {- return initProjectHelper({- organizationId,- projectName- });- }+ /**+ * Create and initialize a new project in organization with id [organizationId]+ * Note: current user should be a member of the organization+ * @param {Object} obj+ * @param {String} obj.organizationId - id of organization+ * @param {String} obj.projectName - name of new project+ * @returns {Project} project - new project+ */+ static async initProject({+ organizationSlug,+ projectName+ }: {+ organizationSlug: string;+ projectName: string;+ }) {+ return initProjectHelper({+ organizationSlug,+ projectName+ });+ }}-export default ProjectService;\ No newline at end of file+export default ProjectService;