Skip to content

Commit ae9068e

Browse files
Update app/Actions/Activities/GetActivityPhotoAction.php
Co-authored-by: Copilot <[email protected]>
1 parent df0ec9a commit ae9068e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/Actions/Activities/GetActivityPhotoAction.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88

99
class GetActivityPhotoAction
1010
{
11-
public function execute(int $userId): ?string
11+
public function execute(int $activityId): ?string
1212
{
13-
$filename = "activity_" . $userId . ".png";
13+
$filename = "activity_" . $activityId . ".png";
1414

1515
if (Storage::disk("activityPhotos")->exists($filename)) {
1616
return Storage::disk("activityPhotos")->get($filename);

0 commit comments

Comments
 (0)