Explorar el Código

Default search limit should be 40

https://docs.joinmastodon.org/api/rest/search/
tags/v1.1.4
Mark Felder hace 5 años
padre
commit
672fddb721
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      lib/pleroma/web/mastodon_api/mastodon_api_controller.ex

+ 1
- 1
lib/pleroma/web/mastodon_api/mastodon_api_controller.ex Ver fichero

@@ -1084,7 +1084,7 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIController do
from([a, o] in Activity.with_preloaded_object(Activity),
where: fragment("?->>'type' = 'Create'", a.data),
where: "https://www.w3.org/ns/activitystreams#Public" in a.recipients,
limit: 20
limit: 40
)

q =


Cargando…
Cancelar
Guardar