Schemas: Refactor to our naming scheme.
[akkoma] / lib / pleroma / web / api_spec / operations / app_operation.ex
index 035ef24707a463ce07eb9b86e596d943ae41bf48..f6ccd073fec07d8348d33e20f257e4a1eabcee2a 100644 (file)
@@ -49,11 +49,7 @@ defmodule Pleroma.Web.ApiSpec.AppOperation do
       summary: "Verify your app works",
       description: "Confirm that the app's OAuth2 credentials work.",
       operationId: "AppController.verify_credentials",
-      security: [
-        %{
-          "oAuth" => ["read"]
-        }
-      ],
+      security: [%{"oAuth" => ["read"]}],
       responses: %{
         200 =>
           Operation.response("App", "application/json", %Schema{