Skip to content

Commit

Permalink
filters out unneeded arguments.
Browse files Browse the repository at this point in the history
  • Loading branch information
fbettag committed Oct 29, 2023
1 parent 00ddaf7 commit 2585d8f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/binance.ex
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,8 @@ docs
binding = binding()

# merge all passed args together, so opts + passed
all_passed_args = Keyword.merge(binding, opts) |> Keyword.drop([:opts])
all_passed_args = Keyword.merge(binding, opts)
|> Keyword.drop([:opts, :api_key, :secret_key])

# if the call requires a timestamp, we add it
adjusted_args =
Expand Down

0 comments on commit 2585d8f

Please sign in to comment.