mirror of
https://github.com/better-auth/better-auth.git
synced 2026-07-18 02:00:59 -05:00
Organization subscription actions re-derived the reference id in the handler instead of consuming the value the middleware resolved, so an action could run against a different organization than the one resolved for the request. The middleware now resolves the reference id once and exposes it on the context, and the handlers read it from there.