Fix route in net worth and expand user group API

This commit is contained in:
James Cole
2023-09-20 19:05:06 +02:00
parent 38b7daf3b6
commit c3bc1af7b5
6 changed files with 198 additions and 3 deletions

View File

@@ -83,7 +83,7 @@ Route::group(
*/
Route::group(
[
'namespace' => 'FireflyIII\Api\V2\Controllers',
'namespace' => 'FireflyIII\Api\V2\Controllers\Summary',
'prefix' => 'v2/net-worth',
'as' => 'api.v2.net-worth.',
],
@@ -215,6 +215,7 @@ Route::group(
Route::get('', ['uses' => 'ShowController@index', 'as' => 'index']);
Route::post('', ['uses' => 'StoreController@store', 'as' => 'store']);
Route::get('{userGroup}', ['uses' => 'ShowController@show', 'as' => 'show']);
Route::delete('{userGroup}', ['uses' => 'DestroyController@destroy', 'as' => 'destroy']);
}
);