Skip to content

fix: pass plugin from options on createFetch#52

Merged
Bekacru merged 1 commit intobetter-auth:mainfrom
mateeyow:pass-plugins
Aug 15, 2025
Merged

fix: pass plugin from options on createFetch#52
Bekacru merged 1 commit intobetter-auth:mainfrom
mateeyow:pass-plugins

Conversation

@mateeyow
Copy link
Contributor

This PR fixes an issue where passing a plugin when calling the fetch from an instance that was created by createFetch

const client = createFetch() client('/todo', { plugins: [somePlugin] }) 
@vercel
Copy link

vercel bot commented Aug 13, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Project Deployment Preview Comments Updated (UTC)
better-fetch-docs Ready Preview Comment Aug 13, 2025 9:48am
@Bekacru Bekacru merged commit 36fa8f2 into better-auth:main Aug 15, 2025
3 checks passed
@mateeyow mateeyow deleted the pass-plugins branch August 17, 2025 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants