Skip to content
This repository was archived by the owner on Jun 22, 2022. It is now read-only.

Commit 07e49bb

Browse files
fix(test-case): fix dashboard test case
1 parent b28f354 commit 07e49bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Repositories/DashboardRepository.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ public function getDeveloperWorkReport($input)
149149
'name' => ucfirst($user->name),
150150
'total_hours' => round($totalDuration / 60, 2),
151151
];
152-
$color = getColorRGBCode();
152+
$color = getColorRGBCode($user->id);
153153
$data['data']['backgroundColor'][] = getColor(0.3, $color);
154154
$data['data']['borderColor'][] = getColor(1, $color);
155155
}

0 commit comments

Comments
 (0)