Skip to content

Commit

Permalink
feat(user): add projects to UserMapper::fromEntityToDTO
Browse files Browse the repository at this point in the history
see: #30
  • Loading branch information
n3wborn committed Jan 13, 2024
1 parent a5ab88f commit 75a63dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Service/User/UserMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public static function fromEntityToDTO(User $user): UserDTO
return new UserDTO(
$user->getEmail(),
$user->getSlug(),
// UserHelper::getCategoriesArrayFromUser($user)
UserHelper::getProjectsArrayFromUser($user)
);
}
}

0 comments on commit 75a63dc

Please sign in to comment.