AP C2S: allow limit & order on outbox & read_inbox
This commit is contained in:
parent
2c18830d0d
commit
a43b435c0a
3 changed files with 24 additions and 29 deletions
|
|
@ -63,8 +63,8 @@ defmodule Pleroma.Web.ControllerHelper do
|
|||
params =
|
||||
conn.params
|
||||
|> Map.drop(Map.keys(conn.path_params))
|
||||
|> Map.drop(["since_id", "max_id", "min_id"])
|
||||
|> Map.merge(extra_params)
|
||||
|> Map.drop(Pagination.page_keys() -- ["limit", "order"])
|
||||
|
||||
min_id =
|
||||
activities
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue