mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-app.git
synced 2026-05-13 19:14:53 +00:00
🛠️ **Remove redundant authorization call in meetup update method**
Streamlined the update method by eliminating the unnecessary `authorizeAccess` invocation.
This commit is contained in:
@@ -146,8 +146,6 @@ class extends Component {
|
|||||||
|
|
||||||
public function updateMeetup(): void
|
public function updateMeetup(): void
|
||||||
{
|
{
|
||||||
$this->authorizeAccess();
|
|
||||||
|
|
||||||
$validated = $this->validate([
|
$validated = $this->validate([
|
||||||
'name' => ['required', 'string', 'max:255', Rule::unique('meetups')->ignore($this->meetup->id)],
|
'name' => ['required', 'string', 'max:255', Rule::unique('meetups')->ignore($this->meetup->id)],
|
||||||
'city_id' => ['nullable', 'exists:cities,id'],
|
'city_id' => ['nullable', 'exists:cities,id'],
|
||||||
|
|||||||
Reference in New Issue
Block a user