Fixed missing support for with_muted param in direct timeline.

This commit is contained in:
Ivan Tashkinov 2020-05-18 19:00:00 +03:00
parent 20a22362b8
commit 5735b5c8be

View File

@ -43,7 +43,7 @@ defmodule Pleroma.Web.ApiSpec.TimelineOperation do
description: description:
"View statuses with a “direct” privacy, from your account or in your notifications", "View statuses with a “direct” privacy, from your account or in your notifications",
deprecated: true, deprecated: true,
parameters: pagination_params(), parameters: [with_muted_param() | pagination_params()],
security: [%{"oAuth" => ["read:statuses"]}], security: [%{"oAuth" => ["read:statuses"]}],
operationId: "TimelineController.direct", operationId: "TimelineController.direct",
responses: %{ responses: %{