Skip to content

Commit

Permalink
fixed company logo attribute data..
Browse files Browse the repository at this point in the history
  • Loading branch information
cuneytsenturk committed Aug 12, 2021
1 parent 5114367 commit 4773fb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Models/Common/Company.php
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ public function scopeAutocomplete($query, $filter)
*/
public function getCompanyLogoAttribute()
{
return $this->getMedia('company_logo')->last();
return $this->getMedia('company.logo')->last();
}

public function makeCurrent($force = false)
Expand Down

0 comments on commit 4773fb1

Please sign in to comment.