mirror of
https://github.com/better-auth/better-auth.git
synced 2026-10-19 23:53:17 -05:00
docs: update import path for createAuth in convex.mdx (#5103)
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user