From df5a9f2659c02a8ef2096e85a4b236cf7ee1e2cd Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sat, 28 Sep 2024 04:09:29 -0600 Subject: [PATCH] Update nag endpoint --- app/Http/Controllers/Api/ApiV1Dot1Controller.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/Http/Controllers/Api/ApiV1Dot1Controller.php b/app/Http/Controllers/Api/ApiV1Dot1Controller.php index ac2c1f55a..82929fe68 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(), + ]; } }