From 42b343d1b299202d3f0baa3ccb6a82e72ed7826b Mon Sep 17 00:00:00 2001 From: Nick Kezhaya Date: Sun, 9 Jun 2019 17:47:28 -0500 Subject: [PATCH] Remove inspect call --- lib/stripe_mock/api/charge.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/stripe_mock/api/charge.ex b/lib/stripe_mock/api/charge.ex index 0ee120b..0dc45f8 100644 --- a/lib/stripe_mock/api/charge.ex +++ b/lib/stripe_mock/api/charge.ex @@ -69,7 +69,7 @@ defmodule StripeMock.API.Charge do validate_required(changeset, :source_id) {nil, _source_id} -> - case source |> IO.inspect() do + case source do %{card: %{customer_id: nil}} -> changeset _ -> validate_required(changeset, :customer_id) end