From b3c18aecfd3cd0910817b28912ca449feef5e76b Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Tue, 15 Oct 2019 21:51:23 -0600 Subject: [PATCH] Update InternalApiController, increase license limit to 140 to match UI counter --- app/Http/Controllers/InternalApiController.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Http/Controllers/InternalApiController.php b/app/Http/Controllers/InternalApiController.php index 081ec1f7e..3976e56f3 100644 --- a/app/Http/Controllers/InternalApiController.php +++ b/app/Http/Controllers/InternalApiController.php @@ -237,7 +237,8 @@ class InternalApiController extends Controller 'media.*' => 'required', 'media.*.id' => 'required|integer|min:1', 'media.*.filter_class' => 'nullable|alpha_dash|max:30', - 'media.*.license' => 'nullable|string|max:80', + 'media.*.license' => 'nullable|string|max:140', + 'media.*.alt' => 'nullable|string|max:140', 'cw' => 'nullable|boolean', 'visibility' => 'required|string|in:public,private,unlisted|min:2|max:10', 'place' => 'nullable',