parent
98f268e5ec
commit
254f2ea854
|
@ -16,11 +16,11 @@ defp get_final_url(method) 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