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

This commit is contained in:
minibikini 2020-05-12 21:23:43 +00:00
parent 5a2333925c
commit cb1a3e196c

View 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{