/api/ap/uploadMedia → /api/ap/upload_media
This commit is contained in:
parent
5820dc40fc
commit
0dc8f3d6d2
3 changed files with 4 additions and 4 deletions
|
|
@ -1008,7 +1008,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubControllerTest do
|
|||
conn =
|
||||
conn
|
||||
|> assign(:user, user)
|
||||
|> post("/api/ap/uploadMedia", %{"file" => image, "description" => desc})
|
||||
|> post("/api/ap/upload_media", %{"file" => image, "description" => desc})
|
||||
|
||||
assert object = json_response(conn, :created)
|
||||
assert object["name"] == desc
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue