Przeglądaj źródła

Update web routes

Daniel Supernault 6 lat temu
rodzic
commit
11749bdc6a
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      routes/web.php

+ 1 - 0
routes/web.php

@@ -44,6 +44,7 @@ Route::domain(config('pixelfed.domain.app'))->middleware(['validemail', 'twofact
         });
         Route::group(['prefix' => 'v2'], function() {
             Route::get('notifications', 'InternalApiController@notifications');
+            Route::post('notifications', 'InternalApiController@notificationMarkAllRead');
             Route::get('discover', 'InternalApiController@discover');
         });
         Route::group(['prefix' => 'local'], function () {