mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-10 04:19:32 +00:00
chore: remove ts ignore
This commit is contained in:
@@ -25,7 +25,6 @@ export const orgSessionMiddleware = createAuthMiddleware(
|
||||
use: [sessionMiddleware],
|
||||
},
|
||||
async (ctx) => {
|
||||
//@ts-expect-error: fix this later on better-call repo. Session middleware will return session in the context.
|
||||
const session = ctx.context.session as {
|
||||
session: Session & {
|
||||
activeOrganizationId?: string;
|
||||
|
||||
Reference in New Issue
Block a user