docs: update import path for createAuth in convex.mdx (#5103)

This commit is contained in:
Rodrigo Santos
2025-10-06 16:44:34 +00:00
committed by GitHub
parent 4e883a007f
commit cd2f73dbd1
+2 -2
View File
@@ -284,7 +284,7 @@ and call the function from your server code.
First, a token helper for calling Convex functions from your server code.
```ts title="src/lib/auth-server.ts"
import { createAuth } from "convex/auth";
import { createAuth } from "@/convex/auth";
import { getToken as getTokenNextjs } from "@convex-dev/better-auth/nextjs";
export const getToken = () => {
@@ -344,4 +344,4 @@ export async function updatePassword({
<Callout>
This documentation comes from the [Convex documentation](https://convex-better-auth.netlify.app/),
for more information, please refer to their documentation.
</Callout>
</Callout>