Fix typo in api route

This commit is contained in:
Daniel Supernault 2021-12-19 00:51:57 -07:00
parent 367d74fbfb
commit 0aad8d5934
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -79,9 +79,9 @@ Route::group(['prefix' => 'api'], function() use($middleware) {
Route::get('timelines/home', 'Api\ApiV1Controller@timelineHome')->middleware($middleware);
Route::get('timelines/public', 'Api\ApiV1Controller@timelinePublic')->middleware($middleware);
Route::get('timelines/tag/{hashtag}', 'Api\ApiV1Controller@timelineHashtag');
Route::get('discover/posts', 'Api\ApiV1Controlle@discoverPosts')->middleware($middleware);
});
Route::get('timelines/tag/{hashtag}', 'Api\ApiV1Controller@timelineHashtag');
Route::get('discover/posts', 'Api\ApiV1Controller@discoverPosts')->middleware($middleware);
});
Route::group(['prefix' => 'v2'], function() use($middleware) {
Route::get('search', 'Api\ApiV1Controller@searchV2')->middleware($middleware);