Add season count to response of getAllLeagues
dyb-tech.com/LaLiga-BackEnd/pipeline/head This commit looks good
dyb-tech.com/LaLiga-BackEnd/pipeline/head This commit looks good
This commit is contained in:
@@ -62,6 +62,7 @@ class LeagueDto
|
|||||||
'name' => $this->name ?? '',
|
'name' => $this->name ?? '',
|
||||||
'city' => $this->city ?? '',
|
'city' => $this->city ?? '',
|
||||||
'logo' => $this->logo ?? '',
|
'logo' => $this->logo ?? '',
|
||||||
|
'seasonCount' => $seasonCount,
|
||||||
'description' => $this->description ?? '',
|
'description' => $this->description ?? '',
|
||||||
'isPublic' => $this->isPublic ?? '',
|
'isPublic' => $this->isPublic ?? '',
|
||||||
'createdAt' => !empty($this->createdAt) ? $this->createdAt->format('Y-m-d H:i:s') : '',
|
'createdAt' => !empty($this->createdAt) ? $this->createdAt->format('Y-m-d H:i:s') : '',
|
||||||
|
|||||||
Reference in New Issue
Block a user