mirror of
https://github.com/better-auth/better-auth.git
synced 2026-05-25 16:36:34 -05: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