We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df0ec9a commit ae9068eCopy full SHA for ae9068e
app/Actions/Activities/GetActivityPhotoAction.php
@@ -8,9 +8,9 @@
8
9
class GetActivityPhotoAction
10
{
11
- public function execute(int $userId): ?string
+ public function execute(int $activityId): ?string
12
13
- $filename = "activity_" . $userId . ".png";
+ $filename = "activity_" . $activityId . ".png";
14
15
if (Storage::disk("activityPhotos")->exists($filename)) {
16
return Storage::disk("activityPhotos")->get($filename);
0 commit comments