Fix route

This commit is contained in:
James Cole 2023-03-25 11:34:02 +01:00
parent 0386d5e09f
commit 3be55adaeb
No known key found for this signature in database
GPG Key ID: B49A324B7EAD6D80

View File

@ -48,6 +48,21 @@ Route::group(
} }
); );
/**
* V2 API routes for auto complete
*/
Route::group(
[
'namespace' => 'FireflyIII\Api\V2\Controllers\Autocomplete',
'prefix' => 'v2/autocomplete',
'as' => 'api.v2.autocomplete.',
],
static function () {
// Auto complete routes
Route::get('accounts', ['uses' => 'AccountController@accounts', 'as' => 'accounts']);
}
);
/** /**
* V2 API route for net worth endpoint(s); * V2 API route for net worth endpoint(s);
*/ */