Add more application api routes for Nests
This commit is contained in:
parent
b1d30c1bde
commit
0511f75747
7 changed files with 205 additions and 5 deletions
|
@ -43,7 +43,7 @@ class Nest extends Model
|
|||
* @var array
|
||||
*/
|
||||
public static $validationRules = [
|
||||
'author' => 'required|string|email',
|
||||
'author' => 'sometimes|string|email',
|
||||
'name' => 'required|string|max:191',
|
||||
'description' => 'nullable|string',
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue