From 72f81c4c4cf441b31160e53b3710056abbfc7609 Mon Sep 17 00:00:00 2001 From: Robert Barrow Date: Sat, 30 May 2020 20:26:14 +0100 Subject: [PATCH] FIX: add missing api actions meta --- assets/javascripts/discourse/lib/wizard-schema.js.es6 | 5 +++++ controllers/custom_wizard/admin/wizard.rb | 3 +++ 2 files changed, 8 insertions(+) diff --git a/assets/javascripts/discourse/lib/wizard-schema.js.es6 b/assets/javascripts/discourse/lib/wizard-schema.js.es6 index 268306d3..1b480471 100644 --- a/assets/javascripts/discourse/lib/wizard-schema.js.es6 +++ b/assets/javascripts/discourse/lib/wizard-schema.js.es6 @@ -146,6 +146,11 @@ const action = { notification_level: null, mute_remainder: null }, + send_to_api: { + api: null, + api_endpoint: null, + api_body: null + }, add_to_group: { group: null }, diff --git a/controllers/custom_wizard/admin/wizard.rb b/controllers/custom_wizard/admin/wizard.rb index 5c3ade4e..dcf6fa00 100644 --- a/controllers/custom_wizard/admin/wizard.rb +++ b/controllers/custom_wizard/admin/wizard.rb @@ -117,6 +117,9 @@ class CustomWizard::AdminWizardController < CustomWizard::AdminController :post_builder, :post_template, :notification_level, + :api, + :api_endpoint, + :api_body, title: mapped_params, category: mapped_params, tags: mapped_params,