mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-17 20:11:27 +00:00
Update nag endpoint
This commit is contained in:
parent
92ad62e735
commit
df5a9f2659
1 changed files with 3 additions and 1 deletions
|
@ -1258,6 +1258,8 @@ class ApiV1Dot1Controller extends Controller
|
|||
{
|
||||
abort_unless((bool) config_cache('pixelfed.oauth_enabled'), 404);
|
||||
|
||||
return NotificationAppGatewayService::config();
|
||||
return [
|
||||
'active' => NotificationAppGatewayService::enabled(),
|
||||
];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue