diff options
| author | Sean King <seanking2919@protonmail.com> | 2021-08-29 07:25:54 -0600 | 
|---|---|---|
| committer | Sean King <seanking2919@protonmail.com> | 2021-08-29 07:25:54 -0600 | 
| commit | 3117c6099733207b7f2a777f8cb8b5b3b839ebe8 (patch) | |
| tree | df8b3581ce3092d717dc90e5d7177112006d5da7 /lib | |
| parent | 2e59cdd80f3e3d14c59aeba1fde2f8f9b8305e1f (diff) | |
| download | pleroma-3117c6099733207b7f2a777f8cb8b5b3b839ebe8.tar.gz pleroma-3117c6099733207b7f2a777f8cb8b5b3b839ebe8.zip | |
Make suggested change for create_response
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/pleroma/web/api_spec/operations/app_operation.ex | 6 | 
1 files changed, 1 insertions, 5 deletions
| diff --git a/lib/pleroma/web/api_spec/operations/app_operation.ex b/lib/pleroma/web/api_spec/operations/app_operation.ex index 5e72c4824..2284ac127 100644 --- a/lib/pleroma/web/api_spec/operations/app_operation.ex +++ b/lib/pleroma/web/api_spec/operations/app_operation.ex @@ -23,7 +23,7 @@ defmodule Pleroma.Web.ApiSpec.AppOperation do        operationId: "AppController.create",        requestBody: Helpers.request_body("Parameters", create_request(), required: true),        responses: %{ -        200 => create_response(), +        200 => Operation.response("App", "application/json", App),          422 =>            Operation.response(              "Unprocessable Entity", @@ -120,8 +120,4 @@ defmodule Pleroma.Web.ApiSpec.AppOperation do        }      }    end - -  defp create_response do -    Operation.response("App", "application/json", App) -  end  end | 
