diff --git a/sources/AppBundle/Antennes/Socials.php b/sources/AppBundle/Antennes/Socials.php index eb90c7bc5..0b1303960 100644 --- a/sources/AppBundle/Antennes/Socials.php +++ b/sources/AppBundle/Antennes/Socials.php @@ -12,5 +12,8 @@ public function __construct( public ?string $twitter = null, public ?string $linkedin = null, public ?string $bluesky = null, + public ?string $cfp = null, + public ?string $github = null, + public ?string $discord = null, ) {} } diff --git a/sources/AppBundle/Controller/Api/Antennes/GetOneAction.php b/sources/AppBundle/Controller/Api/Antennes/GetOneAction.php index 9e441f3ab..7b2103194 100644 --- a/sources/AppBundle/Controller/Api/Antennes/GetOneAction.php +++ b/sources/AppBundle/Controller/Api/Antennes/GetOneAction.php @@ -40,6 +40,9 @@ public function __invoke(string $code): JsonResponse 'meetup' => $this->createLink('https://www.meetup.com/fr-FR/', $antenne->meetup->urlName), 'linkedin' => $this->createLink('https://www.linkedin.com/company/', $antenne->socials->linkedin), 'bluesky' => $this->createLink('https://bsky.app/profile/', $antenne->socials->bluesky), + 'cfp' => $antenne->socials->cfp, + 'github' => $this->createLink('https://github.com/', $antenne->socials->github), + 'discord' => $this->createLink('https://discord.com/invite/', $antenne->socials->discord), ], ];