Skip to content

Commit

Permalink
Merge branch 'bc-checkout' into staging
Browse files Browse the repository at this point in the history
  • Loading branch information
macifell committed May 21, 2024
2 parents d32e4ec + 1dfa2e7 commit ed04981
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/recognizer_web/router.ex
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ defmodule RecognizerWeb.Router do
defp add_bc_to_session(%{query_params: %{"bc" => "true"}} = conn, _opts) do
if Recognizer.BigCommerce.enabled?() do
put_session(conn, :bc, true)
delete_session(conn, :bc_checkout)
else
conn
end
Expand Down

0 comments on commit ed04981

Please sign in to comment.