ipfs: remove unused alias

fix analysis job
This commit is contained in:
Claudio Maradonna 2022-06-09 23:38:50 +02:00
parent 98f268e5ec
commit 254f2ea854
No known key found for this signature in database
GPG Key ID: 0CBA58694C5680D9
2 changed files with 2 additions and 3 deletions

View File

@ -16,11 +16,11 @@ defp get_final_url(method) do
Path.join([post_base_url, method]) Path.join([post_base_url, method])
end end
def put_file_endpoint() do def put_file_endpoint do
get_final_url("/api/v0/add") get_final_url("/api/v0/add")
end end
def delete_file_endpoint() do def delete_file_endpoint do
get_final_url("/api/v0/files/rm") get_final_url("/api/v0/files/rm")
end end

View File

@ -6,7 +6,6 @@ defmodule Pleroma.Uploaders.IPFSTest do
use Pleroma.DataCase use Pleroma.DataCase
alias Pleroma.Uploaders.IPFS alias Pleroma.Uploaders.IPFS
alias Tesla.Multipart
import Mock import Mock
import ExUnit.CaptureLog import ExUnit.CaptureLog