mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Update api.php
to avoid getting error: ``` Unable to prepare route [api/v1/insight/transfer/asset] for serialization. Another route has already been assigned name [api.v1.insight.income.asset]. ```
This commit is contained in:
parent
f4d6d8efa1
commit
3f9661d9b4
@ -152,7 +152,7 @@ Route::group(
|
||||
// Insight in transfers
|
||||
Route::group(
|
||||
['namespace' => 'FireflyIII\Api\V1\Controllers\Insight\Transfer', 'prefix' => 'insight/transfer',
|
||||
'as' => 'api.v1.insight.income.',],
|
||||
'as' => 'api.v1.insight.transfer.',],
|
||||
static function () {
|
||||
// Insight in expenses per account:
|
||||
Route::get('asset', ['uses' => 'AccountController@asset', 'as' => 'asset']);
|
||||
|
Loading…
Reference in New Issue
Block a user