Merge branch 'lookup-restrict-unauthenticated' into 'develop'

Respect restrict_unauthenticated in /api/v1/accounts/lookup

See merge request pleroma/pleroma!4355
This commit is contained in:
nicole mikołajczyk 2025-11-29 18:13:53 +01:00
commit f443b6d1d7
4 changed files with 55 additions and 4 deletions

View file

@ -517,6 +517,7 @@ defmodule Pleroma.Web.ApiSpec.AccountOperation do
],
responses: %{
200 => Operation.response("Account", "application/json", Account),
401 => Operation.response("Error", "application/json", ApiError),
404 => Operation.response("Error", "application/json", ApiError)
}
}