1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-22 07:42:41 +00:00

Update nag endpoint

This commit is contained in:
Daniel Supernault 2024-09-28 04:09:29 -06:00
parent 92ad62e735
commit df5a9f2659
No known key found for this signature in database
GPG key ID: 23740873EE6F76A1

View file

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