mix format
This commit is contained in:
parent
d5177b4495
commit
dd6ed6c395
1 changed files with 2 additions and 2 deletions
|
@ -8,8 +8,8 @@ defmodule DeepLex do
|
||||||
|
|
||||||
@type response :: %{translations: [translation]}
|
@type response :: %{translations: [translation]}
|
||||||
|
|
||||||
plug Tesla.Middleware.EncodeFormUrlencoded
|
plug(Tesla.Middleware.EncodeFormUrlencoded)
|
||||||
plug Tesla.Middleware.DecodeJson, engine_opts: [keys: :atoms!]
|
plug(Tesla.Middleware.DecodeJson, engine_opts: [keys: :atoms!])
|
||||||
|
|
||||||
defp base_url(:free) do
|
defp base_url(:free) do
|
||||||
"https://api-free.deepl.com/v2/"
|
"https://api-free.deepl.com/v2/"
|
||||||
|
|
Loading…
Reference in a new issue