We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3006d75 + 96ab635 commit aaf76d4Copy full SHA for aaf76d4
app/Livewire/Components/User/Threads.php
@@ -68,12 +68,11 @@ public function deleteAction(): Action
68
->requiresConfirmation()
69
->action(function (array $arguments): void {
70
/** @var Thread $thread */
71
- $thread = Thread::query()->find($arguments['thread']);
+ $thread = Thread::query()->find($arguments['id']);
72
73
$this->authorize('delete', $thread);
74
75
app(DeleteThreadAction::class)->execute($thread);
76
-
77
Notification::make()
78
->success()
79
->title(__('notifications.thread.deleted'))
0 commit comments