mirror of
				https://github.com/firefly-iii/firefly-iii.git
				synced 2025-10-31 02:36:28 +00:00 
			
		
		
		
	This commit is contained in:
		| @@ -41,7 +41,8 @@ use Illuminate\Http\JsonResponse; | ||||
| class AccountController extends Controller | ||||
| { | ||||
|     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> */ | ||||
|     private array                      $balanceTypes; | ||||
|   | ||||
| @@ -67,7 +67,7 @@ abstract class Controller extends BaseController | ||||
|     protected array        $allowedSort; | ||||
|     protected ParameterBag $parameters; | ||||
|     protected bool        $convertToNative   = false; | ||||
|     protected array $accepts                 = ['application/json']; | ||||
|     protected array $accepts                 = ['application/json','application/vnd.api+json']; | ||||
|     protected TransactionCurrency $nativeCurrency; | ||||
| 
 | ||||
|     /** | ||||
|   | ||||
		Reference in New Issue
	
	Block a user