Member update endpoint can now change ownership

This commit is contained in:
Constantin Graf
2024-07-01 16:56:18 +02:00
committed by Gregor Vostrak
parent 264b7c9b8d
commit 3a17ae83ae
16 changed files with 352 additions and 85 deletions

View File

@@ -25,8 +25,7 @@ class MemberUpdateRequest extends FormRequest
return [
'role' => [
'string',
Rule::enum(Role::class)
->except([Role::Owner, Role::Placeholder]),
Rule::enum(Role::class),
],
'billable_rate' => [
'nullable',