Fix Tesla warning.
No need to implement get/post functions here Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
dba1072af8
commit
4fc1a984f9
|
@ -19,12 +19,4 @@ defmodule Mobilizon.Service.HTTP.BaseClient do
|
||||||
plug(Tesla.Middleware.Timeout, timeout: 10_000)
|
plug(Tesla.Middleware.Timeout, timeout: 10_000)
|
||||||
|
|
||||||
plug(Tesla.Middleware.Headers, [{"User-Agent", @user_agent}])
|
plug(Tesla.Middleware.Headers, [{"User-Agent", @user_agent}])
|
||||||
|
|
||||||
def get(url) do
|
|
||||||
get(url)
|
|
||||||
end
|
|
||||||
|
|
||||||
def post(url, data) do
|
|
||||||
post(url, data)
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue