Skip to content

Commit

Permalink
Remove ssl param
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyphilemon committed Nov 20, 2024
1 parent 58a8bb2 commit 395e010
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/db/queries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import {
// https://authjs.dev/reference/adapter/drizzle

// biome-ignore lint: Forbidden non-null assertion.
const client = postgres(`${process.env.POSTGRES_URL!}?sslmode=require`);
const client = postgres(`${process.env.POSTGRES_URL!}`);
const db = drizzle(client);

export async function getUser(email: string): Promise<Array<User>> {
Expand Down

0 comments on commit 395e010

Please sign in to comment.