Allow Webhooks to be disabled

This commit is contained in:
Stanko K.R.
2025-09-10 19:21:41 +02:00
parent 9cfd1e43af
commit 1930067e08
3 changed files with 11 additions and 2 deletions
+1 -1
View File
@@ -46,6 +46,6 @@ class WebhooksController < ApplicationController
end
def webhook_params
params.require(:webhook).permit(:name, :url, subscribed_actions: [])
params.require(:webhook).permit(:name, :url, :active, subscribed_actions: [])
end
end