mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-10 01:02:15 +01:00
Fixed api docs
This commit is contained in:
committed by
Gregor Vostrak
parent
de1accba4a
commit
c3a7ef7585
@@ -35,7 +35,7 @@ class ProjectUpdateRequest extends FormRequest
|
||||
(new UniqueEloquent(Project::class, 'name', function (Builder $builder): Builder {
|
||||
/** @var Builder<Project> $builder */
|
||||
return $builder->whereBelongsTo($this->organization, 'organization');
|
||||
}))->ignore($this->project->getKey())->withCustomTranslation('validation.project_name_already_exists'),
|
||||
}))->ignore($this->project?->getKey())->withCustomTranslation('validation.project_name_already_exists'),
|
||||
],
|
||||
'color' => [
|
||||
'required',
|
||||
|
||||
Reference in New Issue
Block a user