Fix migrate script (#560)
This commit is contained in:
parent
fdd0acef59
commit
ef1403441e
3 changed files with 3 additions and 3 deletions
|
|
@ -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>> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue