diff --git a/app/DreamJobsPage.php b/app/DreamJobsPage.php index adc621cbf..b381bf05c 100644 --- a/app/DreamJobsPage.php +++ b/app/DreamJobsPage.php @@ -73,7 +73,7 @@ public function resourcesForLocale(?string $locale = null): array ->where('active', true) ->orderBy('position') ->get() - ->map(fn (DreamJobsResource $item) => [ + ->map(fn (DreamJobsResource $item) => (object) [ 'title' => $item->titleForLocale($locale), 'description' => $item->descriptionForLocale($locale), 'button_text' => $item->buttonTextForLocale($locale), diff --git a/app/preflight_emails.txt b/storage/app/preflight_emails.txt similarity index 100% rename from app/preflight_emails.txt rename to storage/app/preflight_emails.txt