浏览代码

Merge pull request #412 from Simounet/fix/settings-validate

Fix missing comma into SettingsController.php
daniel 6 年之前
父节点
当前提交
3565f73a5e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/Http/Controllers/SettingsController.php

+ 1 - 1
app/Http/Controllers/SettingsController.php

@@ -31,7 +31,7 @@ class SettingsController extends Controller
     {
       $this->validate($request, [
         'name'  => 'required|string|max:' . config('pixelfed.max_name_length'),
-        'bio'   => 'nullable|string|max:' . config('pixelfed.max_bio_length')
+        'bio'   => 'nullable|string|max:' . config('pixelfed.max_bio_length'),
         'website' => 'nullable|url',
         'email' => 'nullable|email'
       ]);