浏览代码

Update InternalApiController, increase license limit to 140 to match UI counter

Daniel Supernault 5 年之前
父节点
当前提交
b3c18aecfd
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      app/Http/Controllers/InternalApiController.php

+ 2 - 1
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',