diff --git a/app/Http/Controllers/Api/ApiV1Dot1Controller.php b/app/Http/Controllers/Api/ApiV1Dot1Controller.php index ac2c1f55..82929fe6 100644 --- a/app/Http/Controllers/Api/ApiV1Dot1Controller.php +++ b/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(), + ]; } }