Daniel Supernault 6 лет назад
Родитель
Сommit
11749bdc6a
1 измененных файлов с 1 добавлено и 0 удалено
  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 () {