route change

This commit is contained in:
Alexander Strizhakov 2020-12-18 07:57:05 +03:00
parent 17bf79c44d
commit 4ebe8cac0f
No known key found for this signature in database
GPG Key ID: 022896A53AEF1381
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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 [