mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-02 14:36:17 +00:00
projects
This commit is contained in:
@ -13,6 +13,8 @@ class CreateProject
|
||||
*/
|
||||
public function create(User $user, array $input): Project
|
||||
{
|
||||
Validator::make($input, self::rules())->validate();
|
||||
|
||||
if (isset($input['name'])) {
|
||||
$input['name'] = strtolower((string) $input['name']);
|
||||
}
|
||||
|
Reference in New Issue
Block a user