ipfs: remove unused alias
fix analysis job
This commit is contained in:
parent
98f268e5ec
commit
254f2ea854
@ -16,11 +16,11 @@ defmodule Pleroma.Uploaders.IPFS do
|
||||
Path.join([post_base_url, method])
|
||||
end
|
||||
|
||||
def put_file_endpoint() do
|
||||
def put_file_endpoint do
|
||||
get_final_url("/api/v0/add")
|
||||
end
|
||||
|
||||
def delete_file_endpoint() do
|
||||
def delete_file_endpoint do
|
||||
get_final_url("/api/v0/files/rm")
|
||||
end
|
||||
|
||||
|
@ -6,7 +6,6 @@ defmodule Pleroma.Uploaders.IPFSTest do
|
||||
use Pleroma.DataCase
|
||||
|
||||
alias Pleroma.Uploaders.IPFS
|
||||
alias Tesla.Multipart
|
||||
|
||||
import Mock
|
||||
import ExUnit.CaptureLog
|
||||
|
Loading…
Reference in New Issue
Block a user