From a68e95fe10f4097991e36b876783eb1c7e95dbe9 Mon Sep 17 00:00:00 2001 From: Daniel Supernault <877217+dansup@users.noreply.github.com> Date: Mon, 5 Sep 2022 02:37:16 -0600 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 20c98c177..805fab0f0 100644 --- a/routes/api.php +++ b/routes/api.php @@ -101,6 +101,7 @@ Route::group(['prefix' => 'api'], function() use($middleware) { Route::post('report', 'Api\ApiV1Dot1Controller@report')->middleware($middleware); Route::delete('accounts/avatar', 'Api\ApiV1Dot1Controller@deleteAvatar')->middleware($middleware); Route::get('direct/thread', 'DirectMessageController@thread')->middleware($middleware); + Route::post('direct/thread/send', 'DirectMessageController@create')->middleware($middleware); Route::group(['prefix' => 'stories'], function () use($middleware) { Route::get('recent', 'StoryController@recent')->middleware($middleware);