feat: add extensive test suite
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { toNextJsHandler } from "better-auth/next-js";
|
||||
import { auth } from "@/lib/auth"; // path to your auth file
|
||||
import { createAuthHandlers } from "./handler";
|
||||
|
||||
export const { POST, GET } = toNextJsHandler(auth);
|
||||
export const { POST, GET } = createAuthHandlers(toNextJsHandler, auth);
|
||||
|
||||
Reference in New Issue
Block a user