diff --git a/apps/api/app/api/auth/[...all]/route.ts b/apps/api/app/api/auth/[...all]/route.ts index 11eaaf9..f820801 100644 --- a/apps/api/app/api/auth/[...all]/route.ts +++ b/apps/api/app/api/auth/[...all]/route.ts @@ -1,9 +1,4 @@ import { auth } from '@/lib/auth'; +import { toNextJsHandler } from 'better-auth/next-js'; -const handler = auth.handler; - -export const GET = handler; -export const POST = handler; -export const PATCH = handler; -export const PUT = handler; -export const DELETE = handler; +export const { GET, POST, PUT, PATCH, DELETE } = toNextJsHandler(auth); diff --git a/apps/ios/.build/index-build/arm64-apple-macosx/debug/index/db/v13/p83063--1accd9/lock.mdb b/apps/ios/.build/index-build/arm64-apple-macosx/debug/index/db/v13/p83063--1accd9/lock.mdb index cc08e09..ffcd925 100644 Binary files a/apps/ios/.build/index-build/arm64-apple-macosx/debug/index/db/v13/p83063--1accd9/lock.mdb and b/apps/ios/.build/index-build/arm64-apple-macosx/debug/index/db/v13/p83063--1accd9/lock.mdb differ