Feat: Improve create project, remove organization slug from frontend

This commit is contained in:
Daniel Hougaard
2024-03-19 13:38:58 +01:00
parent 0e31a9146a
commit ae97b74933
6 changed files with 30 additions and 47 deletions
+1 -8
View File
@@ -77,18 +77,11 @@ const secretsToBeAdded = [
* @param {String} obj.projectName - name of new project
* @returns {Project} project - new project
*/
const initProjectHelper = async ({
organizationSlug,
projectName
}: {
organizationSlug: string;
projectName: string;
}) => {
const initProjectHelper = async ({ projectName }: { projectName: string }) => {
// create new project
const {
data: { project }
} = await createWorkspace({
organizationSlug,
projectName
});