Add more application api routes for Nests

This commit is contained in:
Matthew Penner 2021-01-03 16:45:07 -07:00
parent b1d30c1bde
commit 0511f75747
7 changed files with 205 additions and 5 deletions

View file

@ -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',
];