remove email tesst

This commit is contained in:
Truong Vo 2024-09-19 07:57:22 +07:00
parent 63d38bb5e3
commit 7594d00001
1 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ class ProfileController extends Controller
public function getProfilesData()
{
$user = auth('admins')->user();
$userEmail = $user->email;
$projects = $this->jiraService->getAllProjects();
@ -43,7 +43,7 @@ class ProfileController extends Controller
$result = self::getProjectById($projects, $projectId);
return [
'name' => $result['name'],
'sprints' => $userCriteriasByProject->groupBy('sprint.id')->map(function ($userCriteriasBySprint, $sprintId) {
'sprints' => $userCriteriasByProject->groupBy('sprint.id')->map(function ($userCriteriasBySprint) {
$sprint = $userCriteriasBySprint->first()->sprint;
return [
'name' => $sprint->name,