route change
This commit is contained in:
parent
17bf79c44d
commit
4ebe8cac0f
@ -160,7 +160,7 @@ defmodule Pleroma.Web.Router do
|
||||
|
||||
put("/users/disable_mfa", AdminAPIController, :disable_mfa)
|
||||
|
||||
get("/users/tags", TagController, :index)
|
||||
get("/user_tags", TagController, :index)
|
||||
patch("/users/tags", TagController, :update)
|
||||
delete("/users/tags", TagController, :delete)
|
||||
|
||||
|
@ -33,7 +33,7 @@ defmodule Pleroma.Web.AdminAPI.TagControllerTest do
|
||||
response =
|
||||
conn
|
||||
|> put_req_header("content-type", "application/json")
|
||||
|> get("/api/pleroma/admin/users/tags")
|
||||
|> get("/api/pleroma/admin/user_tags")
|
||||
|> json_response_and_validate_schema(200)
|
||||
|
||||
assert [
|
||||
|
Loading…
Reference in New Issue
Block a user