Apply suggestion to lib/pleroma/web/api_spec/operations/pleroma_account_operation.ex

This commit is contained in:
lain 2020-05-14 09:09:11 +00:00
parent 1c2629328d
commit 359d7b0a6d

View File

@ -119,7 +119,7 @@ defmodule Pleroma.Web.ApiSpec.PleromaAccountOperation do
def unsubscribe_operation do def unsubscribe_operation do
%Operation{ %Operation{
tags: ["Accounts"], tags: ["Accounts"],
summary: "Unsubscribe to stop receiving notifications from user statuses", summary: "Unsubscribe to stop receiving notifications from user statuses",
operationId: "PleromaAPI.AccountController.unsubscribe", operationId: "PleromaAPI.AccountController.unsubscribe",
parameters: [id_param()], parameters: [id_param()],
security: [%{"oAuth" => ["follow", "write:follows"]}], security: [%{"oAuth" => ["follow", "write:follows"]}],