post crud fix

This commit is contained in:
apuc committed 2024-07-26 12:42:44 +03:00
1 parent f5f546ba95
commit 2d8f945cad
7 files changed
+25 -8

No files matched your search

+1 -1
View File
@@ -9,7 +9,7 @@ class CreatePostForm extends FormModel
public function rules(): array
{
return [
'content' => 'required|min-str-len:1|max-str-len:2048',
'content' => 'required|min-str-len:1',
'user_id' => 'required|min-str-len:1',
];
}