Apply suggestion to lib/pleroma/web/api_spec/operations/account_operation.ex
authorminibikini <egor@kislitsyn.com>
Wed, 15 Apr 2020 10:48:32 +0000 (10:48 +0000)
committerminibikini <egor@kislitsyn.com>
Wed, 15 Apr 2020 10:48:32 +0000 (10:48 +0000)
lib/pleroma/web/api_spec/operations/account_operation.ex

index 7d4f7586dd015d98a04eb8dc21774d0597b68221..31dfbb09859246b501c0fde34122f2f348a7734a 100644 (file)
@@ -116,7 +116,7 @@ defmodule Pleroma.Web.ApiSpec.AccountOperation do
         "Statuses posted to the given account. Public (for public statuses only), or user token + `read:statuses` (for private statuses the user is authorized to see)",
       parameters: [
         %Reference{"$ref": "#/components/parameters/accountIdOrNickname"},
-        Operation.parameter(:pinned, :query, BooleanLike, "Pinned"),
+        Operation.parameter(:pinned, :query, BooleanLike, "Include only pinned statuses"),
         Operation.parameter(:tagged, :query, :string, "With tag"),
         Operation.parameter(:only_media, :query, BooleanLike, "Include only statuses with media attached"),
         Operation.parameter(:with_muted, :query, BooleanLike, "Include statuses from muted acccounts."),