Apply suggestion to lib/pleroma/web/api_spec/operations/pleroma_account_operation.ex

This commit is contained in:
lain 2020-05-14 09:07:09 +00:00
parent 6802dc28ba
commit 1c2629328d

View file

@ -20,7 +20,7 @@ def open_api_operation(action) do
def confirmation_resend_operation do def confirmation_resend_operation do
%Operation{ %Operation{
tags: ["Accounts"], tags: ["Accounts"],
summary: "Resend confirmation email. Expects `email` or `nic`", summary: "Resend confirmation email. Expects `email` or `nickname`",
operationId: "PleromaAPI.AccountController.confirmation_resend", operationId: "PleromaAPI.AccountController.confirmation_resend",
parameters: [ parameters: [
Operation.parameter(:email, :query, :string, "Email of that needs to be verified", Operation.parameter(:email, :query, :string, "Email of that needs to be verified",