feat(webhooks): expose whether webhooks are enabled
This commit is contained in:
parent
1b82f26d3e
commit
177f367a8c
@ -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(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user