From ec4380b7a349dd41c364e6fa99e9f7d0d9e24fc0 Mon Sep 17 00:00:00 2001 From: Gerardo Ortega Date: Wed, 24 Apr 2024 10:24:29 -0600 Subject: [PATCH] Fix typo --- lib/utm_conversion/capture/utm_params_middleware.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utm_conversion/capture/utm_params_middleware.rb b/lib/utm_conversion/capture/utm_params_middleware.rb index e2843b2..3528f11 100644 --- a/lib/utm_conversion/capture/utm_params_middleware.rb +++ b/lib/utm_conversion/capture/utm_params_middleware.rb @@ -26,7 +26,7 @@ def extract_utm_params(request) end def store_utm_data(session, utm_params) - return if utm_params.nil || utm_params == {} + return if utm_params.nil? || utm_params == {} UTMConversion::Session::UTMData.store(session, utm_params) UTMConversion.storage_adapter.store(session.id, utm_params)