This commit is contained in:
Sevan Nerse
2021-01-17 21:24:10 +03:00
parent 6f8ebf91e8
commit e0d002fbc8
10 changed files with 10 additions and 10 deletions

View File

@@ -79,7 +79,7 @@ class UpdateCompany extends Job
}
if ($this->request->file('logo')) {
$company_logo = $this->getMedia($this->request->file('logo')[0], 'settings', $this->company->id);
$company_logo = $this->getMedia($this->request->file('logo'), 'settings', $this->company->id);
if ($company_logo) {
$this->company->attachMedia($company_logo, 'company_logo');