Commit fad3b29c authored by Alexander Strizhakov's avatar Alexander Strizhakov

namings

parent f1c3c748
Pipeline #17079 passed with stages
in 4 minutes and 32 seconds
......@@ -220,7 +220,7 @@ Note: Available `:permission_group` is currently moderator and admin. 404 is ret
## `/api/pleroma/admin/users/invite_token`
### Get an account registration invite token
### Create an account registration invite token
- Methods: `POST`
- Params:
......
......@@ -400,8 +400,8 @@ defmodule Pleroma.Web.AdminAPI.AdminAPIController do
end
end
@doc "Get an account registration invite token"
def get_invite_token(conn, params) do
@doc "Create an account registration invite token"
def create_invite_token(conn, params) do
opts = %{}
opts =
......
......@@ -179,7 +179,7 @@ defmodule Pleroma.Web.Router do
post("/relay", AdminAPIController, :relay_follow)
delete("/relay", AdminAPIController, :relay_unfollow)
post("/users/invite_token", AdminAPIController, :get_invite_token)
post("/users/invite_token", AdminAPIController, :create_invite_token)
get("/users/invites", AdminAPIController, :invites)
post("/users/revoke_invite", AdminAPIController, :revoke_invite)
post("/users/email_invite", AdminAPIController, :email_invite)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment