fix(api_spec): pass cast options on the first permissive cast

Without them replace_params: false was ignored when strict is off, so
conn.params got atom keys and RateLimiter params: ["id"] buckets
collapsed to one per user.
This commit is contained in:
Lain Soykaf 2026-10-31 13:12:15 +04:00
commit 163c49c649
No known key found for this signature in database
3 changed files with 6 additions and 3 deletions

View file

@ -0,0 +1 @@
Fix per-status and per-account rate limits when `Pleroma.Web.ApiSpec.CastAndValidate` `strict` is off (the production default)