Revert "Pleroma.Web.AdminAPI.InstanceDocumentController: fix dialyzer error"

This reverts commit a3024dd5ac.
This commit is contained in:
Mark Felder 2024-01-30 14:13:56 -05:00
commit 39241107d9
2 changed files with 3 additions and 3 deletions

View file

@ -61,9 +61,9 @@ defmodule Pleroma.Web.ApiSpec.Admin.InstanceDocumentOperation do
title: "UpdateRequest",
description: "POST body for uploading the file",
type: :object,
required: ["file"],
required: [:file],
properties: %{
"file" => %Schema{
file: %Schema{
type: :string,
format: :binary,
description: "The file to be uploaded, using multipart form data."