From 86af51866156a7b95892b9fad16400090808707c Mon Sep 17 00:00:00 2001 From: Tobias Frauenfelder Date: Mon, 19 Feb 2024 20:08:06 +0100 Subject: [PATCH] Remove debug statements --- api/app/Http/Controllers/CampController.php | 1 - api/app/Http/Controllers/EventController.php | 1 - 2 files changed, 2 deletions(-) diff --git a/api/app/Http/Controllers/CampController.php b/api/app/Http/Controllers/CampController.php index eede20b..f1d040c 100644 --- a/api/app/Http/Controllers/CampController.php +++ b/api/app/Http/Controllers/CampController.php @@ -78,7 +78,6 @@ public function syncExternalCamps() foreach ($externalCamps['events'] as $externalCamp) { $eventDateIds = $externalCamp['links']['dates'] ?? []; $eventDate = collect($eventDateIds)->map(fn($id) => $eventDatesMap->get($id))->first(); - error_log(floatval($externalCamp['cost'])); Camp::updateOrCreate( ['midata_id' => $externalCamp['id']], [ diff --git a/api/app/Http/Controllers/EventController.php b/api/app/Http/Controllers/EventController.php index 0e16385..c666678 100644 --- a/api/app/Http/Controllers/EventController.php +++ b/api/app/Http/Controllers/EventController.php @@ -133,7 +133,6 @@ public function syncExternalEvents() $eventDateIds = $externalEvent['links']['dates'] ?? []; $eventDate = collect($eventDateIds)->map(fn($id) => $eventDatesMap->get($id))->first(); $locationId = Location::firstWhere('name', $eventDate['location'])->id ?? null; - dump($externalEvent); $event = Event::updateOrCreate( ['midata_id' => $externalEvent['id']], [