Skip to content
This repository was archived by the owner on Sep 3, 2025. It is now read-only.

Commit dc2d02d

Browse files
committed
docs(app-invite): fix import paths
1 parent 29e15e2 commit dc2d02d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

apps/docs/content/docs/plugins/app-invite.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ The App Invite plugin enables you to invite users to your application through em
2929

3030
```ts title="auth.ts"
3131
import { betterAuth } from "better-auth"
32-
import { appInvite } from "better-auth/plugins" // [!code highlight]
32+
import { appInvite } from "@better-auth-kit/app-invite" // [!code highlight]
3333
3434
export const auth = betterAuth({
3535
// ... other config options
@@ -52,7 +52,7 @@ The App Invite plugin enables you to invite users to your application through em
5252

5353
```ts title="auth-client.ts"
5454
import { createAuthClient } from "better-auth/client"
55-
import { appInviteClient } from "better-auth/client/plugins" // [!code highlight]
55+
import { appInviteClient } from "@better-auth-kit/app-invite/client" // [!code highlight]
5656
5757
const authClient = createAuthClient({
5858
plugins: [
@@ -98,7 +98,7 @@ This is only required for personal invites. Sharing public invitations is up to
9898

9999
```ts title="auth.ts"
100100
import { betterAuth } from "better-auth";
101-
import { appInvite } from "better-auth/plugins";
101+
import { appInvite } from "@better-auth-kit/app-invite";
102102
import { sendAppInvitation } from "./email";
103103

104104
export const auth = betterAuth({

0 commit comments

Comments
 (0)