docs: fix import statement in your-first-plugin.mdx (#8598)

This commit is contained in:
Developer Zeke
2026-03-13 23:46:35 -07:00
committed by Alex Yang
parent 0476620253
commit e4331c7db7
@@ -118,8 +118,7 @@ In our case we want to match any requests going to the signup path:
And for our logic, we’ll write the following code to check the if user’s birthday makes them above 5 years old.
```ts title="Imports"
import { APIError } from "better-auth/api";
import { createAuthMiddleware } from "better-auth/plugins";
import { createAuthMiddleware, APIError } from "better-auth/api";
```
```ts title="Before hook"
{