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:
VREEdom 2021-06-16 13:38:42 +07:00 committed by GitHub
parent f4d6d8efa1
commit 3f9661d9b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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']);