X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=app%2FHttp%2FControllers%2FRoundController.php;h=8ec2b84d010eb7519f4e1da796b2e7717e8d1e01;hb=147c5f43c5d41fa18e82edb6651fe5a37c789353;hp=6d31e9020897ee8968d7b2ce5040197a68368b86;hpb=c5b15dc5518c627daa4f02f653ff900e4fe13db7;p=alttp.git diff --git a/app/Http/Controllers/RoundController.php b/app/Http/Controllers/RoundController.php index 6d31e90..8ec2b84 100644 --- a/app/Http/Controllers/RoundController.php +++ b/app/Http/Controllers/RoundController.php @@ -47,12 +47,14 @@ class RoundController extends Controller 'code.*' => 'string', 'rolled_by' => 'nullable|exists:App\\Models\\User,id', 'seed' => 'url', + 'spoiler' => 'url', 'title' => 'string', ]); $round->code = array_filter($validatedData['code']); $round->rolled_by = $validatedData['rolled_by']; $round->seed = $validatedData['seed']; + $round->spoiler = $validatedData['spoiler']; $round->title = $validatedData['title']; $round->update();