From b7d292289a3138d38f79c5660c0475fa3b626731 Mon Sep 17 00:00:00 2001 From: Philipp Lang Date: Sun, 11 Jul 2021 22:34:21 +0200 Subject: [PATCH] Fixed: Validate subscription id --- app/Member/MemberRequest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Member/MemberRequest.php b/app/Member/MemberRequest.php index 98ef7afd..ec3be693 100644 --- a/app/Member/MemberRequest.php +++ b/app/Member/MemberRequest.php @@ -31,7 +31,7 @@ class MemberRequest extends FormRequest return [ 'first_activity_id' => Rule::requiredIf(fn() => $this->method() == 'POST'), 'first_subactivity_id' => Rule::requiredIf(fn() => $this->method() == 'POST'), - 'fee_id' => Rule::requiredIf(function() { + 'subscription_id' => Rule::requiredIf(function() { if ($this->method() != 'POST') { return false; }