Skip to content

Commit

Permalink
Remove module name when not needed
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Sienkiewicz committed Nov 23, 2023
1 parent b9b9a10 commit 52e22ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/xtb_client/messages/user.ex
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ defmodule XtbClient.Messages.UserInfo do
trailing_stop: false

def new(%{"spreadType" => spread_type} = args) do
value = args |> Map.drop(["spreadType"]) |> __MODULE__.new()
value = args |> Map.drop(["spreadType"]) |> new()

%{value | spread_type: spread_type || ""}
end
Expand Down

0 comments on commit 52e22ac

Please sign in to comment.