From 52e22acd9c0a37af7f5989547823eeec0fcbceb1 Mon Sep 17 00:00:00 2001 From: Daniel Sienkiewicz Date: Thu, 23 Nov 2023 12:47:00 +0100 Subject: [PATCH] Remove module name when not needed --- lib/xtb_client/messages/user.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/xtb_client/messages/user.ex b/lib/xtb_client/messages/user.ex index 747ddc1..cd32ed5 100644 --- a/lib/xtb_client/messages/user.ex +++ b/lib/xtb_client/messages/user.ex @@ -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