1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-23 08:14:10 +00:00

Update api routes

This commit is contained in:
Daniel Supernault 2020-02-05 23:23:12 -07:00
parent 369a1a599d
commit 3702961e1b
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -77,5 +77,5 @@ Route::group(['prefix' => 'api'], function() use($middleware) {
Route::get('v1/exists/{id}', 'StoryController@apiV1Exists'); Route::get('v1/exists/{id}', 'StoryController@apiV1Exists');
Route::delete('v1/delete/{id}', 'StoryController@apiV1Delete')->middleware('throttle:maxStoryDeletePerDay,1440'); Route::delete('v1/delete/{id}', 'StoryController@apiV1Delete')->middleware('throttle:maxStoryDeletePerDay,1440');
Route::post('v1/viewed', 'StoryController@apiV1Viewed'); Route::post('v1/viewed', 'StoryController@apiV1Viewed');
}); })->middleware($middleware);
}); });