Skip to content

Commit

Permalink
deleted redundant variables
Browse files Browse the repository at this point in the history
  • Loading branch information
ravirocx committed Apr 18, 2018
1 parent af09c70 commit f5384f7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/gringotts/gateways/pin_payments.ex
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ defmodule Gringotts.Gateways.PinPayments do
"Basic #{hash}"
end

defp extract_card_token(%{temp_token: token}) do
defp extract_card_token(%{id: token}) do
{:ok, token}
end

Expand All @@ -226,7 +226,6 @@ defmodule Gringotts.Gateways.PinPayments do
Response.success(
id: id,
token: token,
temp_token: id,
message: message,
raw: parsed,
status_code: code
Expand Down

0 comments on commit f5384f7

Please sign in to comment.