diff --git a/packages/adders/lucia/index.ts b/packages/adders/lucia/index.ts index ca4582a9..7a6c3b8c 100644 --- a/packages/adders/lucia/index.ts +++ b/packages/adders/lucia/index.ts @@ -84,8 +84,8 @@ export default defineAdder({ const userDecl = js.variables.declaration(ast, 'const', 'user', createTable('user')); const sessionDecl = js.variables.declaration(ast, 'const', 'session', createTable('session')); - const user = exports.namedExport(ast, 'user', userDecl); - const session = exports.namedExport(ast, 'session', sessionDecl); + const user = js.exports.namedExport(ast, 'user', userDecl); + const session = js.exports.namedExport(ast, 'session', sessionDecl); const userTable = getCallExpression(user); const sessionTable = getCallExpression(session);