minor fixes, lang updates

This commit is contained in:
David Bomba 2023-11-18 19:02:47 +11:00
parent bc1ba0f237
commit 0d23f862be

View File

@ -528,7 +528,7 @@ class TaskController extends BaseController
return response()->json(['message' => $hash_or_response], 200);
}
$tasks->each(function ($task, $key) use ($action, $user) {
$tasks->each(function ($task) use ($action, $user) {
if ($user->can('edit', $task)) {
$this->task_repo->{$action}($task);
}