mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-06 22:21:42 +00: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:
@@ -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']);
|
||||
|
||||
Reference in New Issue
Block a user