e01a87ff2e5094ca985b9194ba75c8574b59a7da
in checks through better-auth Proxy
better-auth's `toNextJsHandler` does `"handler" in auth` and falls back to calling `auth(req)` if false. The default `has` trap looks at the empty target and returns false, so without the override we hit the fallback and crash because the target isn't callable. Add a `has` trap that delegates to the real instance. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Description
No description provided
Languages
TypeScript
98.7%
HTML
1%
CSS
0.1%
Shell
0.1%