Skip to content

Commit

Permalink
Merge branch 'nextauthjs:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
deokyeong93 authored Jan 1, 2024
2 parents 560035f + d7a1165 commit 2e9534f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/adapter-drizzle/src/lib/sqlite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,12 @@ export function SQLiteDrizzleAdapter(
)
)
.get()
return result?.user ?? null

if (!results) {
return null;
}
return Promise.resolve(results).then((results) => results.user)

},
async deleteSession(sessionToken) {
const result = await client
Expand Down

0 comments on commit 2e9534f

Please sign in to comment.