From 5fe9e66dd07031a6534b00c5a35904c40083a5de Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Thu, 6 Feb 2020 17:14:16 -0700 Subject: [PATCH] Update api routes --- routes/api.php | 1 + 1 file changed, 1 insertion(+) diff --git a/routes/api.php b/routes/api.php index be5ee35d5..08eef6cad 100644 --- a/routes/api.php +++ b/routes/api.php @@ -78,4 +78,5 @@ Route::group(['prefix' => 'api'], function() use($middleware) { Route::delete('v1/delete/{id}', 'StoryController@apiV1Delete')->middleware(array_merge($middleware, ['throttle:maxStoryDeletePerDay,1440'])); Route::post('v1/viewed', 'StoryController@apiV1Viewed'); }); + Route::get('/api/v2/search', 'Api\ApiV1Controller@searchV2')->middlware($middleware); });