projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote-tracking branch 'upstream/develop' into block-behavior
[akkoma]
/
lib
/
pleroma
/
web
/
api_spec
/
operations
/
admin
/
report_operation.ex
diff --git
a/lib/pleroma/web/api_spec/operations/admin/report_operation.ex
b/lib/pleroma/web/api_spec/operations/admin/report_operation.ex
index 3ea4af1e4a6d4ea302fd7227585a9ccb276c13c4..8d7577505c61805538c3260edbf38ebc2507951d 100644
(file)
--- a/
lib/pleroma/web/api_spec/operations/admin/report_operation.ex
+++ b/
lib/pleroma/web/api_spec/operations/admin/report_operation.ex
@@
-136,11
+136,11
@@
defmodule Pleroma.Web.ApiSpec.Admin.ReportOperation do
}
end
}
end
- def
p
report_state do
+ def report_state do
%Schema{type: :string, enum: ["open", "closed", "resolved"]}
end
%Schema{type: :string, enum: ["open", "closed", "resolved"]}
end
- def
p
id_param do
+ def id_param do
Operation.parameter(:id, :path, FlakeID, "Report ID",
example: "9umDrYheeY451cQnEe",
required: true
Operation.parameter(:id, :path, FlakeID, "Report ID",
example: "9umDrYheeY451cQnEe",
required: true