فهرست منبع

Update nag endpoint

Daniel Supernault 9 ماه پیش
والد
کامیت
df5a9f2659
1فایلهای تغییر یافته به همراه3 افزوده شده و 1 حذف شده
  1. 3 1
      app/Http/Controllers/Api/ApiV1Dot1Controller.php

+ 3 - 1
app/Http/Controllers/Api/ApiV1Dot1Controller.php

@@ -1258,6 +1258,8 @@ class ApiV1Dot1Controller extends Controller
     {
         abort_unless((bool) config_cache('pixelfed.oauth_enabled'), 404);
 
-        return NotificationAppGatewayService::config();
+        return [
+            'active' => NotificationAppGatewayService::enabled(),
+        ];
     }
 }