summaryrefslogtreecommitdiff
path: root/lib/pleroma/web/api_spec/operations/admin
diff options
context:
space:
mode:
authorMark Felder <feld@feld.me>2024-01-30 14:13:56 -0500
committerMark Felder <feld@feld.me>2024-01-30 14:13:56 -0500
commit39241107d96775a7e854f777316a907ee8ddea35 (patch)
treefbd44c029e98950b40c1629a4e6c12b9f50ce993 /lib/pleroma/web/api_spec/operations/admin
parent1fa1a93cd6ffefaa80a660fa48968f83b925b21a (diff)
downloadpleroma-39241107d96775a7e854f777316a907ee8ddea35.tar.gz
pleroma-39241107d96775a7e854f777316a907ee8ddea35.zip
Revert "Pleroma.Web.AdminAPI.InstanceDocumentController: fix dialyzer error"
This reverts commit a3024dd5ac28bc23a91b12fa15ab56d15c1c341d.
Diffstat (limited to 'lib/pleroma/web/api_spec/operations/admin')
-rw-r--r--lib/pleroma/web/api_spec/operations/admin/instance_document_operation.ex4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pleroma/web/api_spec/operations/admin/instance_document_operation.ex b/lib/pleroma/web/api_spec/operations/admin/instance_document_operation.ex
index b2a1ba8ad..fc0de499b 100644
--- a/lib/pleroma/web/api_spec/operations/admin/instance_document_operation.ex
+++ b/lib/pleroma/web/api_spec/operations/admin/instance_document_operation.ex
@@ -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."