mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-16 09:22:33 +00:00
This commit is contained in:
@@ -41,7 +41,8 @@ use Illuminate\Http\JsonResponse;
|
|||||||
class AccountController extends Controller
|
class AccountController extends Controller
|
||||||
{
|
{
|
||||||
use AccountFilter;
|
use AccountFilter;
|
||||||
protected array $accepts = ['application/json'];
|
// this array only exists to test if the constructor will use it properly.
|
||||||
|
protected array $accepts = ['application/json', 'application/vnd.api+json'];
|
||||||
|
|
||||||
/** @var array<int, string> */
|
/** @var array<int, string> */
|
||||||
private array $balanceTypes;
|
private array $balanceTypes;
|
||||||
|
@@ -67,7 +67,7 @@ abstract class Controller extends BaseController
|
|||||||
protected array $allowedSort;
|
protected array $allowedSort;
|
||||||
protected ParameterBag $parameters;
|
protected ParameterBag $parameters;
|
||||||
protected bool $convertToNative = false;
|
protected bool $convertToNative = false;
|
||||||
protected array $accepts = ['application/json'];
|
protected array $accepts = ['application/json','application/vnd.api+json'];
|
||||||
protected TransactionCurrency $nativeCurrency;
|
protected TransactionCurrency $nativeCurrency;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user