diff --git a/docs/content/docs/guides/your-first-plugin.mdx b/docs/content/docs/guides/your-first-plugin.mdx index 9cc069e95c..05bf6dd250 100644 --- a/docs/content/docs/guides/your-first-plugin.mdx +++ b/docs/content/docs/guides/your-first-plugin.mdx @@ -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" {