update: get active forwarder from api

This commit is contained in:
2026-01-04 13:33:59 +07:00
parent 6a63e2801d
commit 4ac430c1fe
7 changed files with 359 additions and 242 deletions

View File

@@ -1,2 +1,8 @@
import { createAuthClient } from "better-auth/react"
export const authClient = createAuthClient({})
import { jwtClient } from "better-auth/client/plugins"
import { inferAdditionalFields } from "better-auth/client/plugins";
import { auth } from "@/lib/auth"
export const authClient = createAuthClient({
plugins: [jwtClient(), inferAdditionalFields<typeof auth>()],
})