diff --git a/pkg/routes/api/v1/info.go b/pkg/routes/api/v1/info.go index d2be79da805..0b1cf243781 100644 --- a/pkg/routes/api/v1/info.go +++ b/pkg/routes/api/v1/info.go @@ -50,6 +50,7 @@ type vikunjaInfos struct { UserDeletionEnabled bool `json:"user_deletion_enabled"` TaskCommentsEnabled bool `json:"task_comments_enabled"` DemoModeEnabled bool `json:"demo_mode_enabled"` + WebhooksEnabled bool `json:"webhooks_enabled"` } type authInfo struct { @@ -94,6 +95,7 @@ func Info(c echo.Context) error { UserDeletionEnabled: config.ServiceEnableUserDeletion.GetBool(), TaskCommentsEnabled: config.ServiceEnableTaskComments.GetBool(), DemoModeEnabled: config.ServiceDemoMode.GetBool(), + WebhooksEnabled: config.WebhooksEnabled.GetBool(), AvailableMigrators: []string{ (&vikunja_file.FileMigrator{}).Name(), (&ticktick.Migrator{}).Name(),