From 57694f5ca6011196a5b823a9ea5222557a50db95 Mon Sep 17 00:00:00 2001 From: Nat Date: Tue, 3 Sep 2024 16:24:46 +0800 Subject: [PATCH] FIX: Remove incorrectly added 'App not approved' message It looks like it is added all the time despite the app being approved. Removing this first to prevent confusion --- plugin.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/plugin.rb b/plugin.rb index 0631b31..1a76df8 100644 --- a/plugin.rb +++ b/plugin.rb @@ -32,8 +32,6 @@ module ::Salesforce SeedFu.fixture_paths << Rails.root.join("plugins", "discourse-salesforce", "db", "fixtures").to_s register_problem_check Salesforce::ProblemCheck::SalesforceInvalidCredentials - AdminDashboardData.problem_messages << ::Salesforce::Api::APP_NOT_APPROVED - allow_staff_user_custom_field(::Salesforce::Contact::ID_FIELD) allow_staff_user_custom_field(::Salesforce::Lead::ID_FIELD) register_topic_custom_field_type(::CaseMixin::HAS_SALESFORCE_CASE, :boolean)