diff --git a/routes/api.php b/routes/api.php index 4e4eea21..2d075f2d 100644 --- a/routes/api.php +++ b/routes/api.php @@ -69,20 +69,21 @@ Route::middleware([]) ->map(fn($meetup) => [ 'id' => $meetup->slug, 'tags' => [ - 'type' => 'community', - 'name' => $meetup->name, - 'continent' => 'europe', - 'icon:square' => $meetup->logoSquare, + 'type' => 'community', + 'name' => $meetup->name, + 'continent' => 'europe', + 'icon:square' => $meetup->logoSquare, //'contact:email' => null, - 'contact:twitter' => 'https://twitter.com/'.$meetup->twitter_username, - 'contact:website' => $meetup->telegram_link ?? $meetup->webpage ?? $meetup->matrix_group, - 'contact:nostr' => $meetup->nostr, + 'contact:twitter' => 'https://twitter.com/'.$meetup->twitter_username, + 'contact:website' => $meetup->webpage, + 'contact:telegram' => $meetup->telegram_link, + 'contact:nostr' => $meetup->nostr, //'tips:lightning_address' => null, - 'organization' => 'einundzwanzig', - 'language' => $meetup->city->country->language_codes[0] ?? 'de', - 'geo_json' => $meetup->city->simplified_geojson, - 'population' => $meetup->city->population, - 'population:date' => $meetup->city->population_date, + 'organization' => 'einundzwanzig', + 'language' => $meetup->city->country->language_codes[0] ?? 'de', + 'geo_json' => $meetup->city->simplified_geojson, + 'population' => $meetup->city->population, + 'population:date' => $meetup->city->population_date, ], ]) ->toArray(), 200,