Revert "Pleroma.Web.MastodonAPI.AccountController: dialyzer errors"

This reverts commit e53c20b03c.
This commit is contained in:
Mark Felder 2024-01-30 14:13:46 -05:00
commit 1fa1a93cd6
2 changed files with 5 additions and 5 deletions

View file

@ -887,9 +887,9 @@ defmodule Pleroma.Web.ApiSpec.AccountOperation do
description: "POST body for muting an account",
type: :object,
properties: %{
"uri" => %Schema{type: :string, nullable: true, format: :uri}
uri: %Schema{type: :string, nullable: true, format: :uri}
},
required: ["uri"]
required: [:uri]
}
end
@ -930,7 +930,7 @@ defmodule Pleroma.Web.ApiSpec.AccountOperation do
description: "POST body for adding a note for an account",
type: :object,
properties: %{
"comment" => %Schema{
comment: %Schema{
type: :string,
description: "Account note body"
}