Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/brkcvn/akaunting
Browse files Browse the repository at this point in the history
  • Loading branch information
brkcvn committed Aug 4, 2022
2 parents e38c1a5 + b185fcc commit 9552bb9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/Jobs/Banking/UpdateTransaction.php
Expand Up @@ -45,5 +45,9 @@ public function authorize(): void

throw new \Exception($message);
}

if ($this->model->isTransferTransaction()) {
throw new \Exception('Unauthorized');
}
}
}

0 comments on commit 9552bb9

Please sign in to comment.