diff --git a/app/.env b/app/.env index 2002315..24f43d7 100644 --- a/app/.env +++ b/app/.env @@ -1 +1 @@ -VUE_APP_WAXIOS_URL=https://taskmanager.internal.studiotem.com/api/ \ No newline at end of file +VUE_APP_WAXIOS_URL=http://127.0.0.1:8001/api/ \ No newline at end of file diff --git a/app/.env.production b/app/.env.production index e1febcc..2002315 100644 --- a/app/.env.production +++ b/app/.env.production @@ -1 +1 @@ -VUE_APP_WAXIOS_URL=https://tm.jandl.sk/api/ \ No newline at end of file +VUE_APP_WAXIOS_URL=https://taskmanager.internal.studiotem.com/api/ \ No newline at end of file diff --git a/be/app/Mail/NewTask.php b/be/app/Mail/NewTask.php index c9ec3e5..40777b0 100644 --- a/be/app/Mail/NewTask.php +++ b/be/app/Mail/NewTask.php @@ -28,7 +28,7 @@ class NewTask extends Mailable { $creator = \App\Models\User::find($subtask->created_by); - $usersInMasterTask = $subtask->mastertask->allUsersInMasterTask(); + $usersInMasterTask = $subtask->mastertask->allUsersInMasterTask; $this->creator = $creator; $this->subtask = $subtask; diff --git a/be/app/Mail/SubTaskDeleted.php b/be/app/Mail/SubTaskDeleted.php index 0382834..c485e44 100644 --- a/be/app/Mail/SubTaskDeleted.php +++ b/be/app/Mail/SubTaskDeleted.php @@ -38,7 +38,7 @@ class SubTaskDeleted extends Mailable public function envelope() { return new Envelope( - subject: 'Bol vytvorený Sub Task ' . $this->subtask->mastertask->project->code . ' - ' . ($this->subtask->title) ?: $this->subtask->mastertask->title, + subject: 'Bol vymazaný Sub Task ' . $this->subtask->mastertask->project->code . ' - ' . ($this->subtask->title) ?: $this->subtask->mastertask->title, ); }