Skip to content

Commit

Permalink
bypasses drizzle adapter type for now
Browse files Browse the repository at this point in the history
  • Loading branch information
joelmturner committed Sep 26, 2024
1 parent f62889c commit e06dcfc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion postcss.config.js → postcss.config.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module.exports = {
export default{
plugins: {
'postcss-import': {},
'tailwindcss/nesting': {},
Expand Down
6 changes: 5 additions & 1 deletion src/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@ import { Lucia } from "lucia";
import { DrizzleSQLiteAdapter } from "@lucia-auth/adapter-drizzle";
import { db, session, user } from "astro:db";

const adapter = new DrizzleSQLiteAdapter(db as any, session as any, user);
const adapter = new DrizzleSQLiteAdapter(
db as any,
session as any,
user as any
);

export const lucia = new Lucia(adapter, {
sessionCookie: {
Expand Down

0 comments on commit e06dcfc

Please sign in to comment.