Update api routes

This commit is contained in:
Daniel Supernault 2020-02-06 17:14:16 -07:00
parent 69d36fc1c1
commit 5fe9e66dd0
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -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::delete('v1/delete/{id}', 'StoryController@apiV1Delete')->middleware(array_merge($middleware, ['throttle:maxStoryDeletePerDay,1440']));
Route::post('v1/viewed', 'StoryController@apiV1Viewed'); Route::post('v1/viewed', 'StoryController@apiV1Viewed');
}); });
Route::get('/api/v2/search', 'Api\ApiV1Controller@searchV2')->middlware($middleware);
}); });