diff options
author | Ivan Tashkinov <ivantashkinov@gmail.com> | 2021-03-02 08:26:30 +0300 |
---|---|---|
committer | Ivan Tashkinov <ivantashkinov@gmail.com> | 2021-03-02 08:26:30 +0300 |
commit | 882dd4684381a06395abd262363858011f06327d (patch) | |
tree | 4cf2e15128d4a55ff248d47a2dfa702eafb90717 /lib/pleroma/web/api_spec/operations/admin | |
parent | 40d4362261abaf0856a1b4397a4bff6344137120 (diff) | |
parent | 4cb166e979ea66a1c79995dacacbcf44fbf7365f (diff) | |
download | pleroma-882dd4684381a06395abd262363858011f06327d.tar.gz pleroma-882dd4684381a06395abd262363858011f06327d.zip |
Merge remote-tracking branch 'remotes/origin/develop' into feature/object-hashtags-rework
Diffstat (limited to 'lib/pleroma/web/api_spec/operations/admin')
-rw-r--r-- | lib/pleroma/web/api_spec/operations/admin/report_operation.ex | 4 |
1 files changed, 2 insertions, 2 deletions
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 3ea4af1e4..8d7577505 100644 --- 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 - defp report_state do + def report_state do %Schema{type: :string, enum: ["open", "closed", "resolved"]} end - defp id_param do + def id_param do Operation.parameter(:id, :path, FlakeID, "Report ID", example: "9umDrYheeY451cQnEe", required: true |