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

@@ -37,7 +37,7 @@ class UpdateTransaction extends Job
// Upload attachment
if ($this->request->file('attachment')) {
$media = $this->getMedia($this->request->file('attachment')[0], 'transactions');
$media = $this->getMedia($this->request->file('attachment'), 'transactions');
$this->transaction->attachMedia($media, 'attachment');
}