app/jobs/sync_api_keys_in_demo_mappy_job.rb
# Fetch webhook secret to sync to demo
#
Fetch webhook secret to sync to demo
Fetch webhook secret to sync to demo
def fetch_webhook_secret
    if @client[:sandbox_statuses].include?(GlobalConstant::Client.webhook_registered_in_mappy_server_status)
      @data_to_sync.merge!(KitSaasSharedCacheManagement::WebhookSecret.new([@client_id]).fetch[@client_id] || {})
    end
  end
def fetch_webhook_secret if @client [ :sandbox_statuses ] . include? ( GlobalConstant :: Client . webhook_registered_in_mappy_server_status ) @data_to_sync . merge! ( KitSaasSharedCacheManagement :: WebhookSecret . new ( [ @client_id ] ) . fetch [ @client_id ] || { } ) end end
Fetch webhook secret to sync to demo
Fetch webhook secret to sync to demo