remove email tesst
This commit is contained in:
parent
63d38bb5e3
commit
7594d00001
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue