Apply suggestion to lib/pleroma/web/api_spec/operations/status_operation.ex
authorminibikini <egor@kislitsyn.com>
Tue, 12 May 2020 21:23:43 +0000 (21:23 +0000)
committerminibikini <egor@kislitsyn.com>
Tue, 12 May 2020 21:23:43 +0000 (21:23 +0000)
lib/pleroma/web/api_spec/operations/status_operation.ex

index 3b8cd40aa5d9f21916c1f971e25b409b5fa157d0..f150b6edcf0d41605f45bc3972c796ded16f16ed 100644 (file)
@@ -394,7 +394,7 @@ defmodule Pleroma.Web.ApiSpec.StatusOperation do
             expires_in: %Schema{
               type: :integer,
               description:
-                "Duration the poll should be open, in seconds. If provided, `media_ids` cannot be used, and `poll[options]` must be provided."
+                "Duration the poll should be open, in seconds. Must be provided with `poll[options]`"
             },
             multiple: %Schema{type: :boolean, description: "Allow multiple choices?"},
             hide_totals: %Schema{