Skip to content

Commit

Permalink
Merge pull request #45 from best-lucky1030/setting_project_type
Browse files Browse the repository at this point in the history
adding project_type in site resource
  • Loading branch information
fodderstompf authored Dec 13, 2021
2 parents 9ece206 + 1afaff3 commit 0a59ec9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Ploi/Resources/Site.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ public function create(
string $projectRoot = '/',
string $systemUser = 'ploi',
string $systemUserPassword = null,
string $webserverTemplate = null
string $webserverTemplate = null,
string $projectType = null
): Response {

// Remove the id
Expand All @@ -82,7 +83,8 @@ public function create(
'project_root' => $projectRoot,
'system_user' => $systemUser,
'system_user_password' => $systemUserPassword,
'webserver_template' => $webserverTemplate
'webserver_template' => $webserverTemplate,
'project_type' => $projectType
]),
];

Expand Down

0 comments on commit 0a59ec9

Please sign in to comment.