Compare commits

..

2 Commits

Author SHA1 Message Date
aslan 0419aebe18 Merge remote-tracking branch 'origin/main'
Tests & Lint & Deploy to Railway / build (2.7.6, 20.x, 8.3) (push) Successful in 3m22s Details
Tests & Lint & Deploy to Railway / deploy (push) Successful in 35s Details
2024-06-11 09:41:24 +03:00
aslan 4093e2ce51 fix nullable description 2024-06-11 09:41:13 +03:00
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ class StoreDocumentRequest extends FormRequest
{
return [
'name' => 'required|string|max:255',
'description' => 'string',
'description' => 'string|nullable',
'position' => 'required|int|numeric|max:255',
'document' => 'required|file',
'admission_id' => 'required|int|numeric|max:1000',

View File

@ -21,7 +21,7 @@ class UpdateDocumentRequest extends FormRequest
"unique:documents,name,{$this->document->id}",
],
'position' => 'required|int|numeric|max:255',
'description' => 'string',
'description' => 'string|nullable',
'admission_id' => 'required|int|numeric|max:1000',
];
}