From cc5f0cc6360f936bbff8cdfccd3859a85914838f Mon Sep 17 00:00:00 2001 From: Elisa Goloviatinski Date: Thu, 28 Nov 2024 10:21:04 +0100 Subject: [PATCH] Removed min 1 in new timeline validation, required already does the job --- .../app/Http/Controllers/TimelineController.php | 4 ++-- timeliner/public/favicon.ico | Bin 0 -> 5534 bytes timeliner/public/images/favicon.ico | Bin 5534 -> 0 bytes timeliner/resources/views/layouts/app.blade.php | 2 -- 4 files changed, 2 insertions(+), 4 deletions(-) delete mode 100644 timeliner/public/images/favicon.ico diff --git a/timeliner/app/Http/Controllers/TimelineController.php b/timeliner/app/Http/Controllers/TimelineController.php index 8435142..20b58b8 100644 --- a/timeliner/app/Http/Controllers/TimelineController.php +++ b/timeliner/app/Http/Controllers/TimelineController.php @@ -26,8 +26,8 @@ public function create() public function store(Request $request) { $request->validate([ - 'name' => 'required|min:1|max:25', - 'description' => 'required|min:1|max:100', + 'name' => 'required|max:50', + 'description' => 'required|max:200', 'private' => 'required|boolean' ]); diff --git a/timeliner/public/favicon.ico b/timeliner/public/favicon.ico index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..7b1cefeb8c4aceb17b12bc9119dfce4a71dbc3fe 100644 GIT binary patch literal 5534 zcmcgwNk|+)6z!aHkR*pJc#(uTWO9-~F5WUH6^!de52E52^`Hkqqll=ugt&kQLDWl( zq6vhEh&d@TXi($mO-y1IvJewyGz-CHw(k5_)4$VpdL|I2yQKP8{r*+|)&H-n%8{f~ z^yj!L(esLQ@1i7Kk|gOGRR`5uRG~+?enFDXCq=7J#Cc?8WrfDZ#+1p)Nm0kg$CZhR z3DJgZYHIpL!`*SFNXV<2ni_vN99FoRw%4{Q?Zem_Ub^EG;d4uz{;i%FR3YL@~oc`)bez98zg%>H8=O z^C$LIJGfd_R`yig-_3zgnC#*zz8O6TVcj(yd=va%w$%29v=y==J)%Ci&yL*S~>%P9e z9hb|6k44~sf8aqyVO(ixX%XV954EDA!e3QY<)^l3O-)S=`u+YJh+lJa^Cwz|n2R4g zKXQ+XKH|=Wb?Bqb|5LCHe?x3Np@Xo zX404k_+`GZgw9xim3RpCS>PBM8SxQcgjp=?#yO0A%*j5@VupA8UVk>>wRw%4{Q?Zem_Ub^EG;d4uz{;i%FR3YL@~oc`)bez98zg%>H8=O z^C$LIJGfd_R`yig-_3zgnC#*zz8O6TVcj(yd=va%w$%29v=y==J)%Ci&yL*S~>%P9e z9hb|6k44~sf8aqyVO(ixX%XV954EDA!e3QY<)^l3O-)S=`u+YJh+lJa^Cwz|n2R4g zKXQ+XKH|=Wb?Bqb|5LCHe?x3Np@Xo zX404k_+`GZgw9xim3RpCS>PBM8SxQcgjp=?#yO0A%*j5@VupA8UVk>>w{{ config('app.name', 'Timeliner') }} - -