chore: remove ts ignore

This commit is contained in:
Bereket Engida
2024-11-16 13:15:20 +03:00
parent 03ab0b6e4f
commit 5d11d99cd4

View File

@@ -25,7 +25,6 @@ export const orgSessionMiddleware = createAuthMiddleware(
use: [sessionMiddleware], use: [sessionMiddleware],
}, },
async (ctx) => { 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 { const session = ctx.context.session as {
session: Session & { session: Session & {
activeOrganizationId?: string; activeOrganizationId?: string;