Skip to content

Commit

Permalink
fix missing team photo part 2
Browse files Browse the repository at this point in the history
  • Loading branch information
fiste788 committed Sep 13, 2024
1 parent f4fad8d commit 37cf212
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Model/Table/UsersTable.php
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ public function findAuth(SelectQuery $query, mixed ...$args): SelectQuery
{
return $query
->contain(['Teams' => function (SelectQuery $q): SelectQuery {
return $q->select(['id', 'name', 'photo_dir', 'user_id', 'championship_id'])
return $q->select(['id', 'name', 'photo', 'photo_dir', 'user_id', 'championship_id'])
->contain([
'Championships' => function (SelectQuery $q): SelectQuery {
return $q->select(['id', 'league_id', 'season_id', 'started'])
Expand Down

0 comments on commit 37cf212

Please sign in to comment.