Revert "Pleroma.Web.AdminAPI.InviteController: dialyzer errors"
This reverts commit db87be126e.
This commit is contained in:
parent
4227db0871
commit
589456f0ba
2 changed files with 8 additions and 8 deletions
|
|
@ -79,9 +79,9 @@ defmodule Pleroma.Web.ApiSpec.Admin.InviteOperation do
|
|||
"Parameters",
|
||||
%Schema{
|
||||
type: :object,
|
||||
required: ["token"],
|
||||
required: [:token],
|
||||
properties: %{
|
||||
"token" => %Schema{type: :string}
|
||||
token: %Schema{type: :string}
|
||||
}
|
||||
},
|
||||
required: true
|
||||
|
|
@ -106,10 +106,10 @@ defmodule Pleroma.Web.ApiSpec.Admin.InviteOperation do
|
|||
"Parameters",
|
||||
%Schema{
|
||||
type: :object,
|
||||
required: ["email"],
|
||||
required: [:email],
|
||||
properties: %{
|
||||
"email" => %Schema{type: :string, format: :email},
|
||||
"name" => %Schema{type: :string}
|
||||
email: %Schema{type: :string, format: :email},
|
||||
name: %Schema{type: :string}
|
||||
}
|
||||
},
|
||||
required: true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue