fixed company logo attribute data..

This commit is contained in:
Cüneyt Şentürk 2021-08-12 14:45:27 +03:00
parent 51143677c1
commit 4773fb192d

View File

@ -443,7 +443,7 @@ class Company extends Eloquent implements Ownable
*/
public function getCompanyLogoAttribute()
{
return $this->getMedia('company_logo')->last();
return $this->getMedia('company.logo')->last();
}
public function makeCurrent($force = false)