Skip to content
This repository was archived by the owner on Oct 1, 2021. It is now read-only.

Commit 932a6c9

Browse files
authored
fix: add InteractsWithMedia to HasPhoto (#39)
1 parent 92bfcc7 commit 932a6c9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Models/Concerns/HasPhoto.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,12 @@
44

55
namespace ARKEcosystem\Fortify\Models\Concerns;
66

7+
use Spatie\MediaLibrary\InteractsWithMedia;
8+
79
trait HasPhoto
810
{
11+
use InteractsWithMedia;
12+
913
public function getPhotoAttribute(): string
1014
{
1115
return $this->getFirstMediaUrl('photo');

0 commit comments

Comments
 (0)