From 5ee51cf82b67d3821bdd2c67ec643cdd31df6dfe Mon Sep 17 00:00:00 2001 From: Daniel Guzman Date: Sun, 2 Jun 2024 12:02:34 +0200 Subject: [PATCH] Add season count to response of getAllLeagues --- src/Dto/LeagueDto.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Dto/LeagueDto.php b/src/Dto/LeagueDto.php index 98cc2167..860107e3 100644 --- a/src/Dto/LeagueDto.php +++ b/src/Dto/LeagueDto.php @@ -62,6 +62,7 @@ class LeagueDto 'name' => $this->name ?? '', 'city' => $this->city ?? '', 'logo' => $this->logo ?? '', + 'seasonCount' => $seasonCount, 'description' => $this->description ?? '', 'isPublic' => $this->isPublic ?? '', 'createdAt' => !empty($this->createdAt) ? $this->createdAt->format('Y-m-d H:i:s') : '',