Skip to content

Commit

Permalink
Remove debug statements
Browse files Browse the repository at this point in the history
  • Loading branch information
tobifra committed Feb 19, 2024
1 parent 95d7b20 commit 86af518
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion api/app/Http/Controllers/CampController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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']],
[
Expand Down
1 change: 0 additions & 1 deletion api/app/Http/Controllers/EventController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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']],
[
Expand Down

0 comments on commit 86af518

Please sign in to comment.