mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-05 12:12:18 +00:00
Various API updates.
This commit is contained in:
@@ -628,6 +628,11 @@ class FireflyValidator extends Validator
|
||||
{
|
||||
/** @var array $search */
|
||||
$search = Config::get('firefly.accountTypeByIdentifier.' . $type);
|
||||
|
||||
if (null === $search) {
|
||||
return false;
|
||||
}
|
||||
|
||||
/** @var Collection $accountTypes */
|
||||
$accountTypes = AccountType::whereIn('type', $search)->get();
|
||||
$ignore = (int)($parameters[0] ?? 0.0);
|
||||
|
Reference in New Issue
Block a user