From 4fc1a984f9eeee482fa55bc9e6014928f42e2ad7 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Tue, 11 Aug 2020 10:13:25 +0200 Subject: [PATCH] Fix Tesla warning. No need to implement get/post functions here Signed-off-by: Thomas Citharel --- lib/service/http/base_client.ex | 8 -------- 1 file changed, 8 deletions(-) diff --git a/lib/service/http/base_client.ex b/lib/service/http/base_client.ex index 689ce9b9..02728de6 100644 --- a/lib/service/http/base_client.ex +++ b/lib/service/http/base_client.ex @@ -19,12 +19,4 @@ defmodule Mobilizon.Service.HTTP.BaseClient do plug(Tesla.Middleware.Timeout, timeout: 10_000) 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